[PHP] converting GET to POST

2003-10-16 Thread Kris Yates
Currently, I am posting via GET to third party server as seen below: $item=urlencode($item); header("Location: https://www.fake.com/fake.php?item=$item";); I want to reconfigure my header calls to POST instead of using GET for sending $item to third party server. Is this doable? Thank you

Re: [PHP] User Authentication Continued....

2003-10-03 Thread Kris Yates
I guess you would either need to make the vars global or else keep redeclaring them. Obviously, redeclaring them in each function $var=$_GET["whatever"] is technically the more secure method. Kris Jeff McKeon wrote: Ok, I've got the user authentication thing down and now I'm continuing to bu

Re: [PHP] Dates

2003-10-03 Thread Kris Yates
Also, an option is to have that SQL field set as date. With postgres, I can insert 09-12-1967 and the sql server auto converts it to 1967-09-12 upon saving into date field. However, another way is.. Jay Blanchard wrote: [snip] Ok, Mayve I need to be a little clear, I under the link below as

[PHP] abreviating echo commands

2003-09-15 Thread Kris Yates
Hello.. I forget where but I found some source awhile back that abbreviated echo. It was something like which worked the same as . Maybe it was .. Obviously I dont remember.. which is why I am asking.. :) Does anyone have a link to something that talks about how to abbreviate commands in

Re: [PHP] Bug in Ereg?

2003-08-15 Thread Kris Yates
Just an addendum.. My parser has $colors=""; right before the foreach loop. Kris Yates wrote: Hi, I have a form with checkboxes that POSTs to a PHP script. What is posted [ from phpinfo() ]: _POST["color-1"] on _POST["color-4"] on _POST["color-6

[PHP] Bug in Ereg?

2003-08-15 Thread Kris Yates
Hi, I have a form with checkboxes that POSTs to a PHP script. What is posted [ from phpinfo() ]: _POST["color-1"] on _POST["color-4"] on _POST["color-6"] on Parser: foreach($_POST as $ThisVar=>$ThisVal){ if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){

Re: [PHP] Screen Resoultion

2003-08-15 Thread Kris Yates
Chris W. Parker wrote: Kris Yates <mailto:[EMAIL PROTECTED]> on Friday, August 15, 2003 11:55 AM said: However, I also have a PHP program which you can run and edit the source code for the program inside the program itself, hit render and all of a sudden you are running the new vers

Re: [PHP] Screen Resoultion

2003-08-15 Thread Kris Yates
Leif K-Brooks wrote: [EMAIL PROTECTED] wrote: i didnt understand a word of that , please rephrase ?? ASP doesn't do an upload meter by magic. PHP can do anything ASP can do, it simply doesn't have built-in features for anything unessential. So true.. I use PHP a lot to dynamically generate DHT

[PHP] Foreach POST VARS problem

2003-08-15 Thread Kris Yates
It seems to me that this used to work but I guess something has changed somewhere between PHP 4.2 and 4.3? I am running PHP 4.3.2 as an Apache DSO on an FBSD box. If it is not obvious, I am trying to parse checkbox form POST results as seen below: $colors=""; foreach($HTTP_POST_VARS as $

[PHP] PHPSESSID auto-append

2003-07-16 Thread Kris Yates
What php.ini setting causes the following: A link in a document index gets modified by PHP, so that the end-user sees index in the source? How do you turn this off? Thanks, Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Where do I post loadable extensions questions? (semi-multi-part)

2003-07-09 Thread Kris Yates
Hi, Is there a better list for posting question about creating loadable extensions (.so) for PHP? Or is this [php-general] the best place to post? Also, I saw a post on another PHP related site that said this was not C, but some kind of C macro language? - - but you can use real C code? Conf

Re: [PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-08 Thread Kris Yates
With all due respect to everyone, including the alleged spammer, this has been my rule since '84. If you are in a discussion group, dont advertise something unless someone posts a question where a product would act as a specific solution to their specific need. The advertiser would then be exp

[PHP] "Anchor Collector"

2003-07-08 Thread Kris Yates
http://192.168.0.1/index.php?DSE=matrix&access=31337#herd 1. Grab the Anchor reference "herd" from the fake URL above and store it as a variable using PHP. You already know the facts... QUERY_STRING: DSE=matrix&access=31337 REQUEST_URI=/index.php?DSE=matrix&access=31337 HTTP Request: Get /index.ph