[PHP] passing variable via url

2001-03-05 Thread Kansas Territory

using PHP 3.x on Linux, I've always been able to pass along a variable like
http://www.domain.com/index.php3?foo=bar

and then I could print out this with something like
echo $foo;
would print out "bar"

I've recently installed the latest PHP4 onto a Windows2000 server, I'm
trying the same thing here, a simple test, and
echo $foo;

gives me nothing

however including a PHPINFO() on the page displays this:
HTTP_GET_VARS["foo"] bar

I'm I missing something here ?


Kevin








Kevin Heflin  | ShreveNet, Inc.  | Ph:318.222.2638 x103
VP/Production | 333 Texas St #175| FAX:318.221.6612
[EMAIL PROTECTED]| Shreveport, LA 71101 | http://www.shreve.net



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] help with ftp command

2001-12-09 Thread Kansas Territory

Trying to use the ftp function in PHP3. I've been able to use it to ftp 
an existing file, but what I would like to do is create a file on the 
fly, and then ftp that file to a remote location.

for example, if I have some text defined in a variable like so:

$mytext = "here is some text"

I would like to be able to ftp this file and save it as "myfile.txt"

any suggestions would be appreciated.

Kansast


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Connecting to Sybase on Linux

2001-08-15 Thread Kansas Territory

Could someone point me to any information regarding connecting PHP on 
linux to connecting to a separate server running Sybase on linux.
To be more specific, it's the Sybase that ships with Intershop 4.2

Currently, our php installation can connect to postgres, and mssql(using 
some "free tds" drivers)


Kansas

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]