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.





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 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 !
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 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 !
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 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 !
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 !
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 !
$PHP_SELF - Create A Link Which Refreshes The Current Page, And Based On Certain Items On The Page
On a page, I want to create a link which refreshes the current page, and based on certain items on the page (simple form objects like radio buttons)the page will load differently. My link looks like this: PHP Code:

View Replies !
Warning: Cannot Modify Header Information - Redirect From Login Page To Logged In Page
I am trying to redirect from login page to logged in page, but using the {header( 'Location: C:wampwww' ) ;} is giving me this error {
Warning: Cannot modify header information - headers already sent by (output started at C:wampwwwpassword.php:14) in C:wampwwwpassword.php on line 35}, find below my code:

View Replies !
Refresh Problem - Warning: Page Has Expired The Page You Requested Was Created Using Information
i got two php page at the movement, which they called edit2.php and edit3.php. when i submit a form from edit2.php to edit3.php, then i could not come back from edit3.php to edit2.php.

Warning: Page has Expired The page you requested was created using information
you submitted in a form. This page is no longer available. As a security precaution,
Internet Explorer does not automatically resubmit your information for you.

To resubmit your information and view this Web page, click the Refresh button. Code:

View Replies !
Page Expired After Going Back From Del. Pageto Form Page Where Comment Is Submitted..
i've made a submit comment form with php and mysql, the form has an action to itself with a hidden var like this: input type=hidden action=add

When i delete a comment on the page i go to a page called delete.php3 and there is a link with a javaline which goes -1 back in my history..

When ive added a comment, the comments page contains action=add and when i delete a comment, i want to click on the link to go back to the comment page, but then, it doesnt work and it says:

Page has expired.

I wondered how to deal with this kind of problems........

View Replies !
Page Has Expired Message In Between The Php Page When I Click Back In Explorer Menu
I have a php script page, which is basically quiz. Visitors (after login in
with their email address) are supposed to answer each question, and when
they click the button at the bottom, the next page will show which problems
they got right or wrong.

Now my visitors, after seeing some problems they got wrong, click Back
button at the Explorer menu, and if they do, they get the below message:
=========================
Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is no longer available. As a
security precaution, Internet Explorer does not automatically resubmit your
information for you.

To resubmit your information and view this Web page, click the Refresh
button.
========================
Below are the script that I am using. This scripts are after initial login
page, which asks for visitor's email address. I have authorized visitors
already in my MySQL table, and only the visitors whose email address is in
my MySQL table are allowed to login......

View Replies !
Session Var Is Setting ONLY AFTER I Reload Page, Form Var Displays First Page Load
Page1 has a form that calls Page2. The beginning of Page2:
<? php session_start();
$s=$_POST['sSelected'];
session_register("s"); ?>

in the middle of Page2 I have a form varaible:
<?php echo $_POST['stateSelected']; ?>
<?php echo $_SESSION['s']; ?>

The form var displays the first time the page loads. The session var
displays only after reloading the page2.

View Replies !
Login In A User, And Then Pass The Username And Session_id From Page To Page
I want to login in a user, and then pass the username and session_id from page to page until the leave the admin area of the site. Here's a simplified function: PHP Code:

View Replies !
Insert A Page Break For Printing Purposes After X Records On Page.
I need to insert a page break for printing purposes after X records on page. I'm querying five diffrent records with 5 different results and displaying them like:

$record1
$record2
$record3 and so on

So I want to get total number of records which is pretty easy I just add all the totals let's call it $subtotal. Then I want a page break after every 20 records of the $subtotal. Is this possible?

View Replies !
Build A Page That Takes Form Data, Processes It In A Second Page
I'm trying to build a page that takes form data, processes it in a second page, then sends the user to a third,depending on data processing.

On the second page, I am trying to get the page to have some sort of "Loading" message while the backend processes the data, but I can't seem to get anything to work. Does anyone know how I can get that Loading message to display?

View Replies !

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