Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Select - Send The Value To Another Page.


In a form I have a control lsDocent. I want send the value to another page.
He send the second parameter 'code' but he send the string lsDocent to the
other page instead of the value of lsDocent. Code:




View Complete Forum Thread with Replies

Related Forum Messages:
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 !
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 !
Send Header Info To A Page, Retrieve Response And Send That As Header
I am sending a header to page.html from sender.php using fgets(). I am then trying to retrieve that page's response, and set that as a header in sender.php in order to set any cookies etc.... that page.html might want to set. Right now I am using the following code:

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 !
Page Control - Next/previous Or Select Page Number
I'm looking for php script examples that will help me control page layout. Using a table with 12,000 records, would like to be able to display only 5 records per page with page controls at the bottom of the page. The bottom edge would have next/previous or an optional insert desired page number.

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 To Another .php Page
I would like to know how the "test.php" page should receive the following code:

<a href=test.php?vid="12345">Go![/url]

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 !
Send A Friend This Page
You know click a link and the visitor enters their friend's email and it sends them your page. I think my host has php support.

View Replies !
Send An Entire Web Page
How to send an entire dynamic web page using phpmail()? Similar to mail this page or send to a freind link.

View Replies !
Send A Variable To The Next Page
i would like to send a variable to the next paage i am about to load bu
not using post eg. index2.php?a=0&b=1&c=2

how do i send them and how can i read them?

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 !
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"]==&#391;').

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>&nbsp;</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 An Array From One Page To Another Using Sessions
Is it possible to send an array from one page to another using sessions. If not is there a better way? without it being a global.

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 Does One Send A Large String As A POST To Another Web Page?
If I've a big string and I want to send it to another web page as a GET
request, I just use file(). I've done this often.

But what command do I use when I want to send the same string as a POST
request?

View Replies !
Using XML To Send Info From The Web Page To MySQL Database.
I am trying to undestand XML and the resion for it and if i should be using XML to send info from the PHP web page to mySQL database.

if so how would i send for example
$xml = mysql_query("INSERT data WHERE stuff = stuff");please excuse the bad code.

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 !
Send File & Return To Previous Page
The following script sends a file to a given email along with a message.
I am posting the file to the script as a query string, eg. I link to script like this:

<a href="php/sendfile.php?remote=sendfile/abc.pdf">receive pdf</a>

My question: How can I return to the original page (the page which links to the script) instead of returning to the script after the file has been sent successfully?
Could header( "Location: be used in combination with javascript:history.go(-1) ?
If so where would it be placed in the script? Code:

View Replies !
Confirm Page - Send POST Vars On?
I am attempting to change around a payment system, which books users into an event. The user is asked for their details in a form, which is checked for valid data and then passed to a confirm page.

The confirm page then passes all data to a payment gateway using a POST form. If payment is approved, the gateway sends a (hidden) GET url to the server confirming the order. The order is sent in this url.

However, the new system is passing much more information to the payment gateway, which will not handle the amount of data to send in a GET back to my server. Code:

View Replies !
Send A User To A Page Opened By The Secure Site
I want to send a user to a page opened by the secure site that will ask them for their credit card number (I will then store the number temporarily in the database). What must I do that brings the page into "secure" mode where the lock is displayed at the bottom and the user feels "secure" in giving their credit card number.

I can pull the same page up on either site as they point to the same directory. How can I block pulling up pages that I want to be "secure" on the unsecure address?

View Replies !
Send Email Include Page With Dynamic Data
I want Users to fill in from. data go's to MySQl send email to user and myself containing "form tekst.

View Replies !
Send An Html Page To People On A Mailing List.
I am wanting to be able to send an html page to people on a mailing list. I have set it up so it sends $mailing_template which sends an html page.

Only, when it reaches the inbox it shows as straight html (un parsed) and not as the page. How can I set it to send it as HTML and not straight HTML code please?

View Replies !
How Can I Send Lots Of Data To A Printer Without Displaying It On The Page
I have a list of clients (about 50,000) that is about 500 pages long. To show this, I have a webpage that lists all the clients and pages them in increments of 100 clients per page.

I'd like to be able to print (to a phyiscal printer) the entire list of clients, but the problem is, I don't know how to do it without displaying all 50,000 records on the screen at the same time. This creates a serious memory problem when PHP tries to parse and display all of them at once.

Is there a way to somehow run the query and parse the results into a printer spool (like print preview) via PHP headers or something instead of displaying the output to the browser?

View Replies !
Txt Or Pdf File And Select Page
Is is posible in php to have a txt file or a PDF file loaded in to a webpage and have it select the page that is wanted, i.e. have an index thing with links. so when i click on a link it loads up the page with in the PDF and not the whol PDF. i guess i would have to have a function of some type, but i have not used functions yet.

View Replies !
Insert/select From Same Page
I was wondering (and I suspect I already know the answer) if it's possible to insert data into a mysql table and select that same data from within the same php page.

View Replies !
More Than One Select Form On The Same Page.
How can I create a page with more than one select form on the same page, and pass the parameters using POST to another php page?

This is different from using the MULTIPLE attribute, where more than one value can be chosen in the same select form. Code:

View Replies !
How Redirect A User To Another Page And Send Some Variable With The Post Method?
I make a user registration. It contains two/more page. First page is for official purpose. User ID, password and some other official information is in first page and user basic information is in second page. If user enter an user id that already exist in database then a message show the same page to change his user id otherwise page is redirect to second page and send user id, and other variable that was in first page.   My Code:

View Replies !
Browser Unable To Send Another Request While It's Downloading A File From PHP Page.
While I am downloading a mp3 file from php page, browser freezes and
is not able to send any request and get the response using ajax until
the file gets completely downloaded. As soon as the file downloading
finishes, the browser gets all the responses it is waiting for (which
are sent after the file download starts)....

View Replies !
Using PHP To Select A Page Theme/layout
I'm in the process of converting my site (www.aldera.net) into a database driven site using MySQL and PHP. If you take a look around in the navigation, you will see that the pages are all similar but with different graphics/design.

Is it possible to write a php script for the site so that the pages have a variable $theme (or layout)?

like if I put $theme="characters"; then the characters layout would display the database driven content, .... if I set $theme="spaceships"; it would show the spaceships layout? etc...

Any ideas? how about if I named all the graphics the same thing and put them in different folders and filled substituted a variable for a folder name?.. like this:

$theme="spaceships";
print "<img src='/graphics/ . $theme . /top-image.jpg'>";

... and (if I wrote it correctly), the output would be:
<img src='/graphics/spaceships/top-image.jpg'>

.. I'd have to do that for every graphic on the page.. is that how this is done? Is there a better way? Suggestions appreciated!!

View Replies !
How Do I Return 10 Results Per Page Using SELECT Statement?
I'm wasn't sure whether to post this under the PHP or under the MySQL section of the forums. Since most people (I'm assuming) who write PHP script, also use MySQL, I thought I'd stick with PHP. I'm rather new to both PHP and MySQL and I'd be very grateful to anyone who can help me solve a problem I'm having at the moment. First, I'll give you an introduction to my little project...

I'm developing a database in MySQL that is used to store the song titles of all the MP3s I have on my PC. I've written a basic search feature that works well. The user has 2 options: Either he can type a special "!ALL" "parameter", that I made up, to return all the songs in the database or the user may enter a few characters in the textbox and select "song title" or "artist" etc. from a dropdown to search for a specific song title or artist etc.. Hope you are following so far? Say for example the user presses submit after typing "!ALL" to return all the song titles - there could be hundreds of results. What I want to do now is display 10 results on a page, then on the next page another 10, etc. (like a real search engine!). I've tried doing it with the LIMIT statement, but like I said I'm new to this and discovered that that is not the right way of going about it. My question is this: how would I go about returning 10 matches per page? Do I use hidden form fields? What would the SELECT statement look like? What would the PHP scripting look like to setup the "back" and "forward" navigation between the result for the search?

View Replies !
Simulate Send Data With POST And Get Data From A Web Page (whith A Session)
I'd like to get text of a webpageB that I reach by putting
a login and a password in a webpageA.

I mean:
I'd like to get text of a WebPageB with a php script.
But before I can see WebPageB I have to autenticate myself
in a WebPageA writing my login and my password in a form,
the host recognise me and (by session) let me see the WebPageB.

The question is:
1)how to simulate send data (login an password) in form with a PHP script?
2)how to navigate in a Web usin the same session?

View Replies !
URL Masking - Send A Page From Port 80 To Port 6999
I'm sure this has been asked before but I've just signed up to this
newsgroup and done a search but can't find anything. What I'm trying to do
is to send a page from port 80 to port 6999 but I don't want the :6999 bit
to show in the URL address field. Is it possible to either mask or hide
this within the header("Location:XXX") call?

In other words, if I enter http://www.mysite.com it finds the site using the
default port 80 but the information I have is actually on port 6999 so I'm
redirecting to http://www.mysite.com:6999 but I don't want the :6999 to be
displayed.

View Replies !
How To Send Email Automaticly To Admin When Users Send A Form?
how to send email automaticly to admin when users send a form....example...a booking form..therefore the admin will alert of the booking..

View Replies !
Multiple Select From Listbox And Execute A Sql Query Select Statement
Supposing i have a html form with 2 listbox and i name it status and resolution.

So it goes <select name='status[]'>... <select name='resolution[]'>

Then i have a another php page.
$status = $_POST['status'];
$resolution = $_POST['resolution'];

Now my question is, how do i do the sql query statement?

mysql_query("SELECT * from bugs where status=$status and resolution=$resolution");

The problem is, i select 3 options form the status listbox eg. new, closed, duplicate. And from the resolution, i chose fixed, invalid.

View Replies !
SELECT Error: No Database Selectedin Query: SELECT * FROM Schedule
I got the above error message after reading FAQ #10 which applied to my first error. The thing is, I thought I had selected a database. This script is copied from a tutorial, and I'm just too new at this to spot my error. PHP Code:

View Replies !
SELECT * VS SELECT Field1, Field2, Field3
If I need all/almost all fields from a table, is there any significant performance difference between using SELECT * from table and SELECT field1, field2, field3 etc from table?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved