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.





Php Page Without Posting


I have a page (a.php) that accepts input from the user via text boxes. The action of the form is set to the same page (a.php). The When the select button is clicked the following is set <input type=hidden name="updating" value="1">. This is used to update information to a database during the repost of a.php. Is there a way to load a confirmation page after the update and pass data to it on the fly without usine the <form name="arm" method="post" action="a.php">?




View Complete Forum Thread with Replies

Related Forum Messages:
IE Trying To Save The Php Page When Posting From Another Page
After installing Apache, and the newest PHP, I find that when i open a php page explorer reads it but if i press a submit button that posts to another page or performs any pho script internet explorer immediately says the file type was unrecognised e.g. stage_2.php was unrecognised would you like to save?

I'm unsure why this is happening, perhaps my php.ini file isnt set correctly?

View Replies !
Posting To Same Page
I have a script that pulls data from a db. I need a user to be able to update the form info and then have the from refresh or post back to it self with the updated info. I can't seem to get this to work.

View Replies !
Hyperlink And Posting To New Page!
I have a page where I have done a successful query and get search results displayed. Now I would like a link activated so that they can click on the name and go to new page with further details about that company like address hours etc.

View Replies !
Posting Back To The Same Page
I have a website that uses user authentication. The login does a post back to itself to check set usernames and passwords.

<?php echo $_SERVER['PHP_SELF']?>
sample url:  .../admin/login/index.php

This is working on a linux box where the end of the php code sends the page off to a ccc.php page for access checking. So after logging in on the index.php page, you eventually get returned to admin/ccc.php.

I reused the same code on a windows box and the .../admin/login/index.php takes me to .../admin/login/index.php/admin/login/index.php

does anyone have a clue as to what might cause this?

View Replies !
Posting Many Times To Page
I have a situation where I need to post alot of data to a legacy system we have and it takes a long time for the system to do the inserts.

I was wondering if there is a way to post without waiting for the response, so I could do say 15 posts one right after another and it would open 15 connections but not wait for them or put them in the background. Preferably without forking if its possible.

View Replies !
Posting To The Current Page
Is it possible to post a value to the current page and display it when the page reloads?. For example if I am on 'page1.php' and usign a form to post a variable to 'page1.php', would this be possible. Possible code below: Any other suggestions if this wouldn't work? This is code for page1. php

<?php
echo $_POST['selection'];
?>
<form action="page1.php" method="post">
<select size=1 name="selection" onchange="this.form.submit();">
<option value="goalkeeper">Goalkeeper</option>
</select>
</form>

View Replies !
Posting Checkboxes From Forms To An Array In New Page
what is missing or wrong in my statements from page1 to page2 becoz the values for the checkbox or hidden fields in an array from page1 doesnt get transferred. Code:

View Replies !
POSTing Data To A Page Without Using A Form Submit.
I'm trying to send data to a remote script (a credit card processing
third party) from my site using POST.

Currently, I'm doing it using the ususal form dynamically built with
my values.

This is less than ideal because I want to perform local processing
(updating order status in the local database) and then to proceed to
the remote script, with resultant values, without relying on the user
pressing a [submit] button. Code:

View Replies !
URL Posting
I just need some direction as to a function that can help with this particular situation:
I would like to create a script that acts like a browser and simply goes to a specific web (ie: http://www.whatever.com) address on a regular schedule (ie: 100 times a day).
Any functions that emulate a web browser?

View Replies !
Posting With &amp;
Our database stores the & symbol as &amp; I have a select menu that
queries the database based on the selection. A sample selection:

<option value="Cats &amp; Dogs">Cats & Dogs</option>

After I click on Submit, the value gets posted as "Cats & Dogs." How
can I keep it just "Cats &amp; Dogs"

View Replies !
IP Posting
Is there a convenient variable for the server's IP? I was thinking of trying to have my wget crontab also post up a page that displays the server's (dynamic) IP, so I could access the box from school.

View Replies !
Posting Raw XML To PHP?
I want to post a XML file to a PHP program. I have seen programs using
the following curl format to send the XML:

curl =H"POST / HTTP/1.0 Content-Type:
application/x-www-form-urlencoded Content-Length: 12 " -d"<top></top>"

However, I am not sure what to code on the PHP end to accept the XML.
I checked $_POST and it is empty. I know you can send the data by
posting to a var, like ( -d"xml="<top></top>"").

View Replies !
Posting To Another URL
I can cut and paste the following into my browser URL address and have
the script execute no problem:

http://subdomain.domain.com/log?amo...;orderid=123456

the domain is another site. How can I run a php script on my server
that will essentially post the above, but within my php script?

View Replies !
VB Posting?
I am trying to make something to post a response to the user's new thread automatically. Code:

View Replies !
Posting To DB
When I post comments in a text area, an entry of "<img src="abc.jpg">" appears in the DB as "&lt;img src=""&gt;" and when the DB results are displayed, it shows this "<img src="abc.jpg">" instead of the image. I'd like to display the image, what do I need to do?

View Replies !
Posting To Self
I have a page displaying data from a mySQL db which I want to filter. So I figured I could have a button and a couple of fields at the top of my page:

1. Date

2. Category

I want to click submit, have the results filtered but on the same page. How do I do that?

View Replies !
Posting XML With PHP
I've Googled until I can't Google anymore! I found plenty of examples however none of them worked for me. Here is what I need to do: I need to POST XML to a remote server and receive the response back.

View Replies !
Posting RSS
i m looking for a free/cheap script that lets you posts RSS feeds on your site.
the RSS feed i want to post on my site is from another site. so basically, i want to post whatever that site posts.

View Replies !
Posting From One DB To Another
I am curious, is it possible to post data from one db to another? (MySQL.)

I have researched this a little bit and it seems like cURL is the proper tool, however I am not too familiar with it.

I basically have a simple form that I want to concatenate into a string with a
| delimiter, store it in a variable and then post it to another webserver using SSL which will explode it and create a record in the db with the array.

View Replies !
Posting Id
this is my doubt, i am having all the details of mobile phones(price , id ,model,type) in database. when i press a particular image ,the complete details of that image i have to retrive from database,

<a href="details.php" ><img src="E:programfilesEasyPHP1-8wwwanchasonymodel610.jpg" width="125" height="125" border="0" alt="for details click me">

View Replies !
Posting
Is There Any Way To Submit forms at two different place .... like

post=http://mysite.com/post.php
and other one too
post=http://mybrotherssite.com/post.php

using a single form ?

View Replies !
Posting XML Using HTTPS
I need to post an xml string to another server using HTTPS (secure Socket Layer) protocol. On another server i need to get this data and extract it from binary to a string again. does anybody knows where i can find some information (articles) on this topic?

View Replies !
Posting With Fsockopen ?
I am trying post article using fsockopen. Even though i can connect to the server, i am keep getting this error message when ever i try to post something.

Warning: Supplied argument is not a valid File-Handle resource in
/user/php/send.php on line 19

View Replies !
Blog Posting With PHP
If anyone here can point me in the right direction regarding the following, that would be a huge help...

I'm looking to automate posting to a Blogspot blog via PHP.

I've taken a look at their documentation and they have the blogger.newPost command as part of their API. I believe that by using this I can submit posts using XML.

However, I'm confused about how to specifically use this - particularly how to automate this with PHP.

Basically, I'm looking to create my own script that posts my pre-written content to a Blogspot blog from time to time.

View Replies !
Posting Variables
I have created a MySQL database for storing info on a line of products. In this database is a number of fields that store text about the product's features - like bullet points, etc.

I would like to display a logo (image) in line with the text string.Currently I defined a variable: $logo = "<img src=thelogo.gif>" Then I go to my form that writes to the database and enter text into a field: this is some really interesting text about this product called <?=$logo?>

The database reads the php part of the string as a text string and ignores the php code. But, when the program retrieves this info from the database it is displayed in the browser as hidden. Meaning you can't see it unless you view source code. Can any of you gurus tell me how I can easily have the PHP code extract a variable ($logo) from a text string in a database?

View Replies !
How Can I Now The Url That Posting The Form?
1. How can I now the url that posting the form? ex: I make a php page name poster.php. There is a form that has action to recipient.php. Then I need check that the form is surely posted from poster.php.

2. Can I post a form from to the other site that has different host? How it could be?

View Replies !
Form Posting
i have a form that points to a document on my local site, like:

<form action="test.php" method="post">
<input type=hidden name=value1 value="something">
<input type=submit value=submit>
</form>

now, i would like to post the form data to the test.php file, from
another php file (let's say test2.php)! how to do that?

i cannot call http://localhost/test.php?value1=value1 because the method
is POST (it doesn't work)?

View Replies !
POSTing To My Own Scripts
I've got some scripts that back-end multiple HTML forms, accepting data via
POST. What I'd like to do is have some automated processing take place via
cron, using those same scripts to do the back-end processing. I'm looking for
a way to invoke those scripts from a script *not* executed via a browser
session.

I've found one way via streams (http://www.php.net/stream), by creating a
pretend browser session.

1. Is there an easy-to-use class that encapsulates this? That is, something
that I pass an array of field names and values along with the target URL?

2. Is there a better way?

View Replies !
Modifying And Posting Uri
How can I take a uri passed to a interface script(a script that is called
for every page request) modify it, do whatever, and then change the uri that
the user see's to be whatever?

Essentially I have a rewrite rule

RewriteRule ^(.*)[/]?$ /Index.php

That calls index.php

I can do $_Server['REQUEST_URI'] to get the uri but how can I modify the
browser's uri that the user see's but also redirect the uri to something
different.

Basically I sorta want to write a rewrite handler of my own because I'm
having a few issues with it. I'd rather use php to deal with it if possible.

View Replies !
POSTing Through Frames
I have what is perhaps a stupid problem. I have a form where users enter
values (call this page1.php), and these then need to be POSTed to a page
(page2.php) (code at bottom of this posting), that calls up a page with two
frames (page3a.php and page3b.php) BUT, I need the values that the user
entered in page1.php to be visible to page3a.php and page3b.php.

When I submit from page1.php (running apache btw) I get "Method Not
Allowed -- The requested method POST is not allowed for the URL /page2.php."

Can anyone please tell me how to get this values posted from page1.php. to
the targets where I need those values in page3a.php and page3b.php? Thanks,
Ike

This is page2.php:
<HTML>
<HEAD>
<TITLE>VIOS Demonstration</TITLE>

</HEAD>
<frameset rows="360,*">
<frame src="page3a.php" name="top" scrolling="no"
noresize FRAMEBORDER="0" BORDER="0" FRAMESPACING="0" marginwidth="1"
marginheight="1">
<frame src="page3b.php" name="bottom" marginwidth="1"
scrolling="no" noresize FRAMEBORDER="0" BORDER="0" FRAMESPACING="0"
marginheight="1">

<noframes>
<body>
<p>
<p>This web page uses frames, but your
browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</HTML>

View Replies !
Posting Forms
I am kind of new to PHP so this might be a stupid question, but here it
is anyway. If there is a form, let's say somewhere on the web with a
couple of input fields and a submit button. Can I pull that .html (or
whatever extension it is) in a PHP object and then post it with the
input fields filled with what I want? And then show the result to the
user? How would that be done?

View Replies !
Posting Message
im making a forum system and i was wondering if i could have a post delay (flood control). e.g. say if user1 posted a message and then wanted to post again straight after, and then got a custom flood control message.

can i ask how would i make it so i could select how long you had to wait before posting another message and  how would i make it so i can select a custom flood control message. i would like the flood control custom message and time limit (in seconds) to be stored in a mysql table.

View Replies !
Posting To A Database.
I'm currently developing a website that includes an online registration form using PHP.  I'm having trouble getting the script to post the value of a check box to the database.  I have succesfully managed to post the values of the text boxes to the database but can't figure out how to post the value of the check boxes.

View Replies !
Posting Within A Script
Within my script I have:

$whatever = $_POST['whatever'];
$whatever2 = $_POST['whatever2'];

These were from a form that the user filled out.

Alot of stuff happens to $whatever and $whatever2 within my script, but at the end of the script I need $whatever and $whatever2 to get passed as $_POST data to http://www.someotherscript.com/script.php. This data can not be $_GET data in the URL. It must be passed as $_POST data.

I know how to use standard HTML forms, but I don't know how to do this.

View Replies !
Posting With CURL
I can't figure out why is it that when i use an array for my postfields it doesn't work :

this works
curl_setopt($curl, CURLOPT_POSTFIELDS, "clown=bozo" );

this doesn't
curl_setopt($curl, CURLOPT_POSTFIELDS, array('clown'=>'bozo') );


The web site i post to only responds when my parameters are in a string, but it sends nothing back when i use an array - no headers, no error, nothing. And cURL shows no error either. So there must be something different in the way cURL posts from an array. It's like the web site reads it differently than when i post a string and possibly
some error is generated on the server. I make other posts to the same web site and all is okay except when i use an array. Any ideas what might be going on?

Here is the full code ....

View Replies !
Googlebot Posting
often when people post a comment related to a news post, right after they post there will be one right after theirs thats just blank.

* Dns resolved 66.249.65.33 to crawl-66-249-65-33.googlebot.com

its always that same ip. news.php code comments.php code ...

View Replies !
Posting Values
I have a form with 22 textboxes. The users enteres the informations and clicks on submit, then if he found the he entered wrong information then he will have a back button to go back and correct the wrong fields. But all the data will be erased if i clk on back button, Is there a way where i can show hm his old values whatever he has entered earlier?

View Replies !
Posting Apostrophes
I escape the apostrophes using mysql_real_escape_string() function when inserting data to my db.

But I also pass data to a payment gateway. When I look inside my db I can see names like O'Donnell. But when I go inside my gateway I see the name O'Donnell.

Am I not passing the data correctly, or are they not accepting the data correctly?

View Replies !
Automatic Posting
I got a news system that I want to have a 'bot' post a comment at a certain time of the day. Is it possible to make a separate script to post a comment? How would I go about this?

View Replies !
Posting Error
I get a message appear when i try t post a message on my forums. The message is as follows:
Error in posting

DEBUG MODE

SQL Error : 1136 Column count doesn't match value count at row 1

INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES (181, 15, 7, '', 1162628725, óGd5c77', 1, 1, 1, 1, 1)

Line : 259
File : functions_post.php

View Replies !
PHP Posting Question?
When you fill out a form and click the "SUBMIT" button it sends information to a php page that processes the information sent. My question is this, how can I send the same information to a php page without using an html form?

Here is what I am wanting to do, I want to pull information from my database using a php page and send that information to another php page on a different server on the internet, all without using any html forms. Code:

View Replies !
Posting Array
I am setting up a page on which users select a number of checkboxes: Code:

View Replies !
Select Box POSTing
I have two select boxes I can Add and Remove the different Options between each of the select boxes. I am trying to submit this form and get all of the values of the Select box that I am adding to.

Unfortunately I can't seem to get the information in the select box to go from one form to another. On the second form I use the $test = _POST['test'];. This works for all of the other types of form controls (text box, text area, checkbox, radio, etc), but not with the select box. Am I missing something? Code:

View Replies !
Posting User_id
I have a form that I would like user_id attached to table so that the user may be able to edit their submission. I am not sure how or where to add it. Does it go into the form.php or the process.php?

View Replies !
Forms POSTing
Sorry for the cross post into multiple newsgroups on this, but html forms processing is supported across all three groups so I was hoping someone might know.

I did a check with Google and found dated 1996 and 1997. This is a bit too old for me to rely on.

Thus Does anyone know if there is a limit when POSTing? I think a FORM METHOD of GET has a standards limit of 1024 though most browsers ignore this limit. However I can't recall a limit when posting data.

View Replies !
Posting To A Form
I need to pull from a database and fill out the form based on the value selected. Does this look reasonable?

<form action="sv_t5.php" method="post">


<?php
$inv_no=$_POST['inv_no'];
echo $inv_no;


$query ="Select inv_no, sv_type, sv_name From tbl_vessel WHERE inv_no=$inv_no";
$result=pg_Exec ($conn, $query);


?>
<table width="100%" border="0">
<tr>
<td width="17%">Inventory Number </td>
<td width="27%"><input name="inv_no" value="<?=$_POST['inv_no']?>" type="text" id="inv_no" maxlength="50"></td>
<tr>
<td>Sacred Vessel Type </td>
<td><input name="sv_type" type="text" id="sv_type"></td>
<tr>
<td>Sacred Vessel Name </td>
<td><input name="sv_name" type="text" id="sv_name"></td>
<td>Mark Description</td>
</tr>

View Replies !
POSTing A Form
I am trying to programatically POST an ASP form, to allow me to log on to a site programatically.

<form name="aspnetForm" method="post" action="Default.aspx"
id="aspnetForm">
<input name="_ct99:Content:UsrName" type="text"
id="_ct99_Content_UsrName" />
<input name="_ct99:Content:Pwd" type="password"
id="_ct99_Content_Pwd" />
<input type="submit" name="_ct99:Content:btnLogon" value="Logon"
id="_ct99_Content_btnLogon" />
<input id="_ct99_Content_SavePwd" type="checkbox"
name="_ct99:Content:SavePwd" /></p>
</form>

specify the data I should pass with the CURLOPT_POSTFIELDS flag option (i.e. passed to curl_easy_setopt()) ? I have not been succesful so far in trying to log on.

View Replies !
Posting Trouble?
Using this below works fine and post to my site:

<input type="submit" name="friendcommentpost" value="Post Comment">

But using this below goes to my php script I am sumbitting to but stops there and doesnt post to it.

<input type="submit" name="friendcommentpost" value="Post Comment" onclick="this.disabled=true;document.form1.submit()">

Here is the code from the script it is posting to Code:

View Replies !
Blog Posting
Iam trying to develope a site with some sort of a blog system. Instead of having the posts show up on one page, one right after the other. I want the newest post to show up on my homepage. Can anyone suggest anything. any system that allows me to do so. Iam not very good with this kind of stuff.

View Replies !
New Posting Script
This is some code that I have to post news information into a mysql database. There is something wrong that I'm not seeing as none of the error messages work and it doesn't add anything to the table. Code:

View Replies !
Posting Tutorials
Where is a webstie that lets you post PHP Tutorials and lists them. Note that I want to make a tutorial that will be a fair amount of pages long and will not cover a specific area of PHP (so i don't want to have to post it in a specific section).

Also it will be for very begginers in PHP. If possible the website should also allow me to upload images so I don't have to upload them on a different site and then link to them. And of course it should allow me to execute PHP scripts and (if possible) also a small amount of JavaScript.

View Replies !
Forum Posting
dose anyone know how to set up a textarea for a forum posting so that when you hit enter to type on a new line without having to use <br> in the textarea it will print that way when you call it from the db

like
line 1
line 2
line 3 with dub space

like this textarea on this forum it will print on new lines without me having to use <br> when I want new lines.

View Replies !

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