Send Info Into Same Page
we can send info into same page like following index.php?do=1 we can get it
if ($_REQUEST["do"]==Ƈ').
View Complete Forum Thread with Replies
Related Forum Messages:
Sessions And Redirects - Send Info From Page One To Page Two.
I have a two part form, each part on a seperate page. I want to send info from page one to page two. Thought ok, I use session variables. The problem is that they don't get sent to the second page. All works fine on my local testing server, but when I go live session varables don't show. Has this something to do with header? Is there another way to get to the second page? Code:
View Replies !
How To Send Info To Database
im wondering how to submit info into a database. i know the code goes something lie $sql = "UPDATE <tablename> set $var = "var" but i know that is wrong and i want to put it in form so on submit it posts it in the database.
View Replies !
How To Send Info From A Php Script To A Server Running Javascript
I'm new to php. i'm trying to send information from my php (client) script to a website that is running javascript. Here is an extract of the server's response to my initial http request. I need to know how to communicate further with the server. <META name="description" content=""> <META name="keywords" content=""> </HEAD> <script language="JavaScript" type="text/javascript"> if (top != self) top.location.replace(self.location); </script> <link rel="shortcut icon" href="/system/images/mypage.ico"> <FRAMESET FRAMEBORDER=0 FRAMESPACING=0 BORDER=0 ROWS="90,*"> <FRAME NAME="VIEW_TopFrame" ..........
View Replies !
User's Register, And Send Mail With The Account Info...
i desire send mail to the new user than he register in my web. i have 2 codes. 1 is registra.php that one is in charge to verify fields and to register the new user, and other that sends a mail to the user, but this I complete not where to place it within registrar.php. Code:
View Replies !
Send This Page Script Used To Send Spam.
I had installed a simple php script (obtained for free from the web) that allows a visitor to forward a page to a friend. It worked great but now a spammer is using it to send thousands of emails. I have deleted the feature and also the php file but no successs. What can I do? Please help. While I have some responsibilities of a webmaster, my technical abilities are very limited.
View Replies !
Email Me This Info Page From A Order Confirmation Page?
How do i make a "email me this info" page from a order confirmation page? Basically someone enters some info in a form, then on submission is comes to my email. After submission, i want to have a text area where they can enter an email address to have the info emailed to them if they wish. You can see the page here, you have to enter info first, the email nbox on the second page (process.php) is non fuctional.
View Replies !
Send Email - Page Where You Enter An Email Address And Click Send.
I am interested in creating an "email -this" type ability for a website. I am sure most people have seen an "email -this story" type link that is standard on most news web sites. You click such a link and then it takes you to a page where you enter an email address and click send. The link for the story and the title are not editable. Does anyone know where I can find example code of how to do this with php, and any explanation of how this works.
View Replies !
Sending Page Info
for several different .php files (file1, file2, file3 ...) i want to have page numbering, ie, this is page 1, this is page 2... the files are accessed in different order order 1: file1, file2, file3 order 2: file2, file3, file1 but the page numbering should always be 1, 2, 3 regardless of actual file order. any ideas how this can be done?
View Replies !
Passing Info From One Page To Another
I have a dynamically generated list of check boxes with ids email1, email2, up to the end of the list of addresses. This list is then passed to the next page where all the addresses are concatenated and added to a database. At least that's the theory. I can't figure out how to dynamically get all the $_POST[emailx] variables, with x being 1, 2, to the end of the list.
View Replies !
Page Info Change On Submit
I have a menu on my site that is all pulled out of a MySQL database. So the links actually look like this: <a href="about">About Us</a> And when the user clicks on this link I want the page to go to the database and get the info for "about" and then refresh the page and display the info.
View Replies !
Opening A Page To Display The Right Info
I'm making a website where registered users can upload a photo as well as information. The main page will display all of the users' photos. When user1 clicks on, say, user5's photo i want a page to open up and user5's information. How do i do this? Every user has a username stored in the database along with their information and the url to their photo. Code:
View Replies !
Parsing Info From Other Page (method POST)
- i want to get some info from the page XYZ to my page. XYZ page has a FORM where you can select DAY, MONTH, YEAR and you get the info about a day you selected. - now, if i want to grab the info from let's say 20. august 2002 my url will look like this: http://XYZ/file.php?day=20&month=8&year=2002. - THE PROBLEM is, their form has the POST method, which means, if i want to direct link the 20 august, it will bring me to the FORM page and not to DATE page. is there any ways to bypass this?? I REALLY NEED THAT INFO?!
View Replies !
Dynamic Content - Writing DB Info To A Page
I'm writing a website that works on similar lines as a dating site, where end users can enter their details and what they want to sell, which is then submitted on to a webpage, any people that are interested in that product, contact us and we then pass the lead to the person who is doing the selling. So basically teh site is acting as a middle man. I have done the database bit where the end user enters his details, we get emailed his details and his id (which is a an auto increment field) then there is a page called view.php which pulls up his details on a web page and there is then a submit and decline button. Teh decline button is the easy part, but the bit that I'm stuck on now is the submit part. And thus here is my question how do i write information that is held on a database to a webpage. But this webpage has to ADD and and not OVERWRITE what is already there as we want to create a listing? Code:
View Replies !
Pass Info Forward From A Redirect Page
I have a main page with 75% constant contents. I want to change the other 25% depending on what page calls the main page. Example: www.mysie.com/a.html www.mysite.com/b.html www.mysite.com/c.html www.mysite/x/y/z/mainpage.php Pages a, b, and c are redirect pages to mainpage.php How can I how can I open storya.txt in the mainpage.php when someone clicks on ~.com/a or storyb.txt if they click on ~ .com/b ?
View Replies !
HTML Presentation Page For Uploaded Info?
I've seen a lot of posts about uploading files, but not much about what happens afterwards. Can someone point me to a tutorial, post or book which will help me solve this problem: I'd like to have a form where users can upload a photo, add a short bio, put in some contact info, and have all of this information stored in a database (natch). Then I'd like for this form to take this user's data and put it into an html presentation template. Ideally, members would sign in and be able to modify their own profiles as well as view other profiles.
View Replies !
Passing This Radio Button Info To New Page.
I have my users choosing from several radio buttons on a page(page1). When they click "submit" they should be given a table of results on another page(page2). Depending on which one they choose an X will appear in the correct box. Code:
View Replies !
Getting Current Page Info Into The Query String
I have a drop down list in a form, in a PHP page, the form is displayed via 'echo'. The FORM ACTION tags looks like this: echo "<CENTER><FORM NAME='choose_lib' METHOD='post' ACTION='viewpix.php?ctPos=360&ctWid=109&hsp=1&loc= XXX '>"; When the user selects a name from the drop down list, which is dynamic, how can I get that variable into that ACTION url where it currently says XXX ? All I can think of is that I am going to need an intermediate page, and that doesn't sound very efficient.
View Replies !
Send Value From CSS Html Page To PHP Page
help me to find a way or script to pass value "digit" from CSS html page to php page which has funtion to accept value and search in database. for example, in CSS rollover image map. if a user select on particular place, that should call PHP page as well as send value to php page.
View Replies !
Send Var To A Page With Frames
I am trying to pass a var to a frame page with a page.When the page opens the $job_id var is not passed to the frame page within. Is the a way I can pass the $job_id var to the jobdetails frame within the main page.
View Replies !
Send Variable To Page
Is there any way to do this (below code) without using the POST method (ie. is there a more discreet method where the "?problem=true" doesn't need to show in the URL)? if ($noProblems) { header("Location: index.php"); } else { header("Location: index.php?problem=true"); }
View Replies !
Variables Not Send To Next Page
I have a problem while building an intranet site for my work. When I try to send an variable called id to the next page as in : page.php?id=2 (where 2 is extracted from the database and placed in a while. When I click the link the id is shown in the address bar, but the page isn't getting it. Anyone know how to fix this or what the problem is? I'm runing Apache 1.3.33, PHP 5.0.5 and MySQL 5.0.15 with PHPMyAdmin (which is working properly) on a Windows 2003 Server.
View Replies !
PHP Send Page/information
i have a website and i have a log in system with php and mysql, that works fine however i want my registered user to be able to send me information by email, they'd fill in a text field then press send. I need this to send the whole page so that it gets their username in so people can't put a another persons user name.
View Replies !
Send A Variable Over To Another Page
I want to send a variable over to another page, but theres no form, i dont want to use session, and defiently dont want to use get!! so i was wondering would something like: <?php $_POST['someval']Â =Â 12345; header("Location:Â path/path/somefile.php"); ?>
View Replies !
Send This Page Script
I want to add a 'Send this page to a friend' script to many pages on my site. I'm after a script which can automatically insert the current page URL in to the email that's sent. ie. I do not want a standard visit www.servername.com generic message and URL. Likewise, I don't want to manually customise the script on every page for every URL. The URL needs to be custom for every page. Presumably a PHP script can insert the current URL.
View Replies !
Do You Have To Send Headers Again On A Cached Page
I've got some dynamic pages on my site, so i've set php up to cache them in the normal way to speed up delivery. but i was just wondering... do you have to include the headers again when it reads the cached page, or will the original headers become part of the cached page?
View Replies !
Send Contents Of Page In Email
is there not an easy way to simply send the contents of a page in the body of an email? i.e. i have a report.php that pulls from a mysql db. i need to be able to send the displayed file right in the body of the email. can anyone help with this?
View Replies !
Send Email As Html Page
i need to be able to send an email back to a person once they have completed a form in the exact format of how they filled it in. ie, as a html page with all the text they entered in the text boxes and selected checkboxes, radio buttons, etc. the problem is the page is very big and has many fields so i was thinking, on my action page i just include a template to achieve this.....and in the template can i do this type of thing: <input type="text" name="<php echo $txtAString ?> " size="12"> //which is the name of the text box on the entry form on the previous page ...will that get the text out of the previous page and put it in with the included template?
View Replies !
Send The Header To The Client Only At The End Of The Page?
a quick question. is it possible to send the header to the client only at the end of the page? I mean when the build of the page by the PHP server is finished. This is because I want to redirect the user to a error.php page each time an error occurs. But when doing that, I get an error saying that the header has already been sent.
View Replies !
Send Users To Thankyou Page
I have a form that when properly filled out I would like to send the visitor to a new page. Not an include but a new page that thanks them for filling out the form and then redirects them to the site. I have found that goto is not included in PHP. Most examples I have found have many lines of code and seem so complicated. Is there a way to have this done simply?
View Replies !
PHP Send Information/page To Email
i have a website and i have a log in system with php and mysql, that works fine however i want my registered user to be able to send me information by email, they'd fill in a text field then press send. I need this to send the whole page so that it gets their username in so people can't put a another persons user name. Code:
View Replies !
Curl :: Send XML To A HTTPS Web Page
I'm using PHP to send XML to a HTTPS web page. Everything works fine but can someone help me to remove what I presume is the Curl transfer stats. In the middle of the web page I get the following: % Total % Received % Xferd Average Speed Time etc etc $ch=curl_init($url); curl_setopt($ch,CURLOPT_VERBOSE,0); curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false); curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,1); curl_setopt($ch,CURLOPT_POST,0); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_NOPROGRESS,0); curl_setopt($ch,CURLOPT_HTTPDHEADER,$request_post); curl_setopt($ch,CURLOPT_POSTFIELDS,"xmlstream=".$request_xml); $request_result=curl_exec($ch);
View Replies !
Send A Page To The User's Printer
A little more detail: I want the user to be able to press a form submit button and for a script to fetch member information for multiple members from the database and send the information to the printer to be printed so that each member has its own printed page. Does that make sense? I know I could do this by listing all the member details on one page complete with page breaks and getting the admins to print the page, but would prefer to just send the data to the printer. I've tried researching on the net, but haven't come across a solution yet, which probably means I can't do it, but thought I would ask anyway.
View Replies !
Form Without Having To Send The Page Using Post Or Get
What I want to achieve is that when you type in one textbox it appears in the other textbox live without having to send the page using post or get. Code: <form id="form1" name="form1" method="post" action=""> <label> <input name="input" type="text" id="input" /> </label> <p> </p> <p> <label> <input name="output" type="text" id="output" /> </label> </p> </form> how do i make it so that if you type in input, it automatically displays in output?
View Replies !
Send Data To A New Page From Submit
I just posted a question to the Javascript area, but was advised to check this forum for PHP... I have no clue where to start as I do not know any PHP (I have seen it, but have never programmed with it). Basically what I want to do is have 3 select lists, where the user selects their birthdate (one select list for day, one for month and one for year), then they click on the submit button, which needs to take them to the relevant page for their star sign. Below is the javascript post I made that has the javascript code to make a javascript pop-up telling the user whattheir star sign is. Code:
View Replies !
Tool To Send A Complete Page
I know how to use mail() function and it work fine with me but I am wondering if there is a tool or a way to just pass the the desired page to send to mail address with all its content (graphics+HTML+PHP).
View Replies !
Send Data To Print One Page At A Time
I currently have a script together that will display one record per page and allow the user to manually click through pages to view the next record. How can I translate this to printing the data? I want to be able to print the data one page at a time, but only send one print job to do this? I have never done this before, but would imagine it is possible....
View Replies !
How To Send The User To The Page Is Using The Header() Function.
I am writing a page with sessions. At the start of every page I check to make sure that the user actually has a session by checking for some SESSION variables. On one of my pages I have a form that is to add guests for an event. I have no idea how many guests a particular member is giong to bring and the number of guests is not limited. So to save myself time I wrote a form that will allow you to add one guest and then hit add guest. This will save that guest to the guest table in my MySQL database but then I want to reload the page to have them add another guest. The only problem I am having is that the only way I know how to send the user to the page is using the header() function. This is not working because I have already output data. Is there a better way to do this so that I can one form and not have to have a form input for guests up to 20?
View Replies !
|