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.





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 Complete Forum Thread with Replies

Related Forum Messages:
Sending Info To MySQL Db
How is it safe to send info to MySQL database? Should I encrypt/encode the data before sending it? for example:

<?php
...
//connection is established
...
$insert = "INSERT INTO table_name VALUES('$var1', '$var2')";
mysql_query($insert);
?>

Is it possible to use get access to my database, i.e to DROP TABLE/DATABASE or smth. Have heard of MySQL injection.

View Replies !
Sending Form Info
I have a popup window with a form: The popup window is opened like this:

<SCRIPT LANGUAGE=javascript>
window.open('primos.html', 'primos', config='height=300,
width=400')
</SCRIPT>

The form on the popup window is this:

<form action="primos.php" method="POST">
Buscar los primos entre 1 y
<input type="text" size="7" name="max" value="1000"><br>
<input type="submit" name="start" value="Start">
</form>

How can I get the form to send the info to "primos.php" and open it in the original window?

View Replies !
Safely Sending Info
Is possible to safely receive credit card info with a form and PHP? It is easy to encrypt data with PHP but then info has first to go unprotected from the user's computer to the server.

View Replies !
Proper Way Of Sending Sensitive Info
Since the info pool in PHP/mysql areas are so big I feel really lost. If anybody can give me some hint what is THE PROPER way of sending sensitive info using PHP from user side form to server side mySQL. Is there any way we can use secure channels and how. How to use the power of 128 bit encryption/decryption siting in the user browser to send for example credit card info. Or patient info.

View Replies !
Sending Query Info To Mapquest
Does anyone know if it's posible to send a query string to a mapquest driving directions page and have it obtain a result?  Also, does anyone know a good php distance calculator?

View Replies !
Sending Mail With Info From Database
Can anyone explain the best way to retireive info from mysql and then send it in an email? I'm completely lost on this. I can run a query of the database just fine, and I know how to use the mail function. The problem is I cannot figure out how to use them together. Anyone?

View Replies !
Sending Db Info To A Flash Swf Via Variable
I have a client who wants a marquee of their top news story to scroll across the top of the page. the <marquee> tag does not validate - so I thought that flash would be an easy solution.

only problem is I am retrieving my data from a db - and for some reason the loadVariables function is only printing the name of my php variable. Code:

View Replies !
Check Box Form Sending Info To A Mysql Db
I have a checkbox on a form where the user can check on or off and I would like to store that check into a database. I was wondering how that field would look like in the database and how it would be quiered on the form. Ideally I would like the database field to say YES if they checked it and NO if they didn't?

So on the form I would have

contact me: <input type="checkbox" name="contact"/>

and what would the "INSERT into" script look like to input whether they checked it or not be so that in my DB it would say YES if they did and NO if they didn't?

View Replies !
CURL Issues, Sending Info, Need To Recieve Headers
I have just started playing with cURL and it seems to be pretty awesome.  I was wondering however if any of you might be able to lend a helping hand with something.  I am trying to build a client Library for ActionScript 3 to access Googles Calendar API.  Because of a combination of Flash Player sand box issues, and adobe documentation being incorrect ::sigh::  this is impossible without building some sort of proxy server. 

This is Where PHP comes in.  I am looking to build a PHP script (or series of scripts) that take in information (POST, GET, PUT, etc) and 'pushes' it off to the google server, then gets the response from the google server (along with the headers).  I have been able to get the contents of the page back, but thats about it. Code:

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 !
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 !
Sending "header" Info After HTML?
I am looking to use "header("Location:index.php");" in my code. Basically this will be called when the user logs in to redirect them to the home page but as you expect I get the usual "headers already sent message"

Just wondering how to get around this? Do I use the ob_start() method or something?

View Replies !
Get Info From A Html Page With Php
im looking for a way to get info from a html page in php i have a code that was sapose to work but no longer does any one have any ideas on how to make it work? here is the Code:

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 !
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 !
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 !
Reading And Extracting Info From Another Page?
How would I extract some info from another site and then display it on my site?

View Replies !
Sending Data From One Page To Another Page
how to send a data from one page to another page using php code...

View Replies !
I Can't Get Info.php Working On PWS Win98 The Page Cannot Be Displayed
Can someone help me?
I have tried php-4.3.4-installer
I have tried php-4.3.4-Win32
If someone has PWS running PHP4 on windows 98
I would appreciate any help. thank-you

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 !
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 !
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 !
Use Php Script That Configured To Get Certain Info Off Of A Web Page And Store Them In Some Variables
is there an easy to use php script that configured to get certain info off of a web page and store them in some variables, without having to do a lot of coding by hand.

View Replies !
Sending SMS Through Web Page.
Please help me to code in PHP for sending SMS through my web page.

View Replies !
Sending A Page By PHP
I want to create a server side PHP which simply send a created HTML page to the user's browser. I use "exec" to run a program with some parameters and the program will create a HTML page. I want to send this page to user's borswer. I know that "echo" will send a text to user's browser but I want to send a pre-created HTML (the whole page) to user. I am not sure but I think "POST" is that I should use.

View Replies !
Header Problem - Insert The Info Below And Then Jump Back To A Page.
i want to insert the info below and then jump back to a page. Here is insert and the header statement: PHP Code:

View Replies !
Sending A Variable To A PHP Page
I'm sending a variable to a PHP page as follows: PHP Code:

View Replies !
Sending User To Another Page ?
I want to do something simple, here is the code:

<?php

if($ageCheck)
// goto mainpage.html
else
// goto under21.html

?>

What is the best way to do that ? I looked at header() but I'm not sure if
that's the best way.

View Replies !
Sending The Value Of The Last Page Visited
Is there a way of sending the value of the last page visited...ie. first_page.php?

View Replies !
Problem With Sending Value To Php Page Via Url - HELP!
i have php page that displays records from mysql base.
on that page i have link like this:

<a href="mypage.php?option1">option1</a>

("option1" is name of one of my tables in db)

now i want to load that page and assign this value "option1" as string to
my variable "table".
I tried this:

$table=$_SERVER['QUERY_STRING'];
$query_rs_komp = "SELECT * FROM " . $table;

but it fills my $table var with "database.option1", and i need only
"option1"

Also i'll need help with checking if anything was sent to page anyway - so
if it's first time someone opens page, default value is assigned to var
$table.

View Replies !
Sending A Variable From One Page To Another
I would like to send a variable from one page to another. I have a mysql connect and select statement on page one, it retrieves a variable from the database, how do i send that variable to page two ?

the end user does not fill out any forms or press any links, it is just a redirection they come into page one, a variable is grabbed then the variable and end user are to be redirected to page two.

View Replies !
Sending A Fax From A PHP Page In Windows?
What are some methods of sending a fax from a PHP page in windows?

View Replies !
Sending Variable To New Page
I am popping up a new window with Javascript and I need to send a PHP variable to that new window.  I think this is the way I need to do that.  But I get a JS error that $_GET is not defined.

win = window.open('MikesFileEditor.php?dir='+$_GET['dir'],'window','height=750, width=700,toolbar=no,directories=no, status=no, menubar=no,scrollbars=no,resizable=no');

View Replies !
Sending Information To Another Page
just wanted to know how to pass two variables to another form. I know how to get one working but the other how do I do this. with one it is PHP Code:

$test = "test.php?id=".$f."";

but when I try passing another variable it doesn't get passed, the other variable passed is m=$b

doesn't work:
PHP Code:

$test = "testphp?id=".$f."?msg=".'.$b.'

View Replies !
Sending Page To Printer
I have a php script which desplays the contents of a record from a database.

No fancy stuff, just text. Is it possible to have a button or clickable link that will sent the page content to a printer.

View Replies !
Sending Results To A New Page
Attempting to get the code below to show results in a new page (ie: results.php)
I am having some difficulty on how to tackle this task.

I believe PHP_SELF has to be adjusted, but have had really little success.

search_form($HTTP_GET_VARS, $limit_hits, $default_val, $message_5, $message_6, $PHP_SELF);

any help would be appreciated to send me in the right direction.
Pulling out what little hair I have left. Code:

View Replies !
Sending HTML Page
I have a website where people can "join the mailing list" by entering their email address from the home page. THe email address goes into a simple, 1-field db. The field is called "email" and I'd like to write a PHP script to call the entire group of emails, and allow my client to send out a mass email to her list.

In other words, maybe she edits the text on her HTML page with the latest "deals" and hits "send" and the script calls the emails fromn the db and, calls in the HTML page and out it goes.

I'd like to automate this as much as possible for this client so the PHP works in the background and she is able to keep things very simple on her part. If there is a thread that addresses this task, I'd be interested in seeing it. INitial searches didn't really turn up much.

View Replies !
Sending Code To Another Page.
I've done a form, with name etc, when they push submit then they come to a page where it stands their name etc. now i wan't that info to be sended to a diffrent page so i can look at it later, just like in a questbook. whats the code for it? Only the send code now i don't need how to write the info code=).

View Replies !
Sending Variables To Another Page Through Hyperlinks
I have hyperlinks directing to a page with a form to fill ( that page is called main_form.php). I want to be able to send a variable through the click of the hyperlink to 'main_form.php'.How do I do this?

View Replies !
Sending Entire Web Page To Email
Is it possible to send an entire web page to an email using mailto:person@blah.com function, with what has been typed in the text boxes. And if so what would the code look like.

View Replies !
Sending 2 Or More Cookies In One Page - Problem!
I am developing an image hosting site. You can upload multiple files at once. No registration is required in this site so I have found ways of tracking who uploaded which file. One of them is via cookies. Now the code is like this: Code:

View Replies !
Sending Email - Redirect Another Page
after sending email, the page will be redirect another page

$sent=mail($mememail, $subject, $body, $headers);
if ($sent)
header("Location: err.php");
else
header("Location: thanks.php");

the above is the sending email complete then the program check $sent is true or false
or the program is checking $sent is true or false during sending email.

View Replies !
Index.htm Going To Login Page And Sending Back To Index Page
1: A visitors visits a.html page. decides to login and post comment. goes to login page and logs in then I want to send him back to a.html page how do I do that? Here is my login page and login.php page.

2: Same as above but I want to send them back after some time... while I make them view the error, why they have not been able to login. Code:

View Replies !
Sending Post Request To ICQ Web Page Messenger
I would like to get a icq web pager message whenever a certain webpage is called (e.g. when SEs hit my 404 page!). I have this but it seems not to work: PHP Code:

View Replies !
Sending Sensitive Information To An HTTPS Page
I am trying to emulate sort of a Payment Gateway.
A user makes an order and then when he checks out he gets transfered
to the HTTPS page to enter his details.

At the moment I am storing the order in a temporary cart DB Table and
as a reference I use the Customer's ID
so I have

TABLE
Order_Temp
customerId | orderDateTime | ItemID

Once the order gets stored I redirect them using
header('Location:https://'.$url);
Now I have to pass some how in the HTTPS page the reference for the
order so my $url looks like:
https://www.paymentgateway.com/chec...?customerId=123

The problem with that is that I expose the Customer Id wich can easily
be changed to anything else.

What alternatives do i have ?
I though using post might be a sollution, BUT is it safe ? Can you
fake an id of a user when you post a form by injecting code? And how
easy is that ?

I was thinking of storing in the Temp_Order table the session_id and
then passing it thru the URL ? Is that safe ?

I just want to know if there is a standard practice of doing something
like that.

Thank you, and I really appreciate anyones times that is spend reading
my post :)

View Replies !
Sendmail Form Sending HTML Page
i have a sendmail form that should send HTML pages to the email address that i specify
i tested it first sending to individual emails and it worked. unfortunately, when you try to view the HTML page that you send first, the color is different, the text is also different and the links are not clickable. Code:

View Replies !
Security - The Secure Way Of Sending Variable To Another Page.
Things I need to make sure that are secure and the correct way of doing are:

The secure way of Sending variable to another page (e.g. xyz_page.php?var1=info )The secure way of collecting above received variableThe secure way of getting data out of mysql table "Query" (e.g. Seen some like variables in  '{$var1}'  or some ' $var1' or '{$HTTP_POST_VARS($Var1)}'

I see all types of different way programmers doing it, but as a newbie I am not sure which way is to go and the updated secure way.

View Replies !

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