Re: [PHP] Would appreciate thoughts on session management

2002-11-11 Thread Charles Wiltgen
I posted this yesterday: > Specifically, I'm considering using hidden fields for persistent object > properties because (1) I don't want cookies to be an issue, (2) I prefer not > to have session IDs appear in a URL, and (3) I prefer not to use require a > database just to store persistent propert

Re: [PHP] Help w/ $_SESSION

2002-11-11 Thread Jason Wong
On Tuesday 12 November 2002 15:05, conbud wrote: > Hey, > How would I insert $_SESSION['user'] and $_SESSION['pass'] > > into this > mysql_query("select count(*) AS numfound from admins where user='$user' AND > pass='$pass'",$db); > > right now I have > $_SESSION['user'] = $_POST['user'] > $_SESSIO

Re: [PHP] _POST & _GET

2002-11-11 Thread Rasmus Lerdorf
> I prefer PHP's naming convention, but then I cannot claim to be > impartial. :-) The use of get/post comes directly from the form tag you > mention (you mean HTML spec though, right?) Well, no, the HTTP spec specifies the primitive request methods as being GET, PUT, POST, DELETE, HEAD, OPTIONS a

[PHP] Help w/ $_SESSION

2002-11-11 Thread conbud
Hey, How would I insert $_SESSION['user'] and $_SESSION['pass'] into this mysql_query("select count(*) AS numfound from admins where user='$user' AND pass='$pass'",$db); right now I have $_SESSION['user'] = $_POST['user'] $_SESSION['pass'] = $_POST['pass'] and I need to put $_SESSION['user'] whe

Re: [PHP] _POST & _GET

2002-11-11 Thread Chris Shiflett
Rasmus Lerdorf wrote: ColdFusion developers are more familiar with the URL/form distinction than the get/post one, as the former are variable scopes. PHP developers generally use the get/post distinction due to the arrays $_GET and $_POST. As I understand it, mod_perl developers do not distinguis

Re: [PHP] Submit hitting enter problem

2002-11-11 Thread dwalker
It is a client side browser issue. Which browser are you testing within??? -Original Message- From: rija <[EMAIL PROTECTED]> To: php <[EMAIL PROTECTED]> Date: Sunday, November 10, 2002 9:49 PM Subject: [PHP] Submit hitting enter problem What am I missing? My form does not submit whe

Re: [PHP] Can somebody help me with making a login Script?

2002-11-11 Thread Justin French
on 12/11/02 2:27 PM, Tweak2x ([EMAIL PROTECTED]) wrote: > can somebody please help me make an login script step one by one? My > website is Http://tweak2x.cjb.net and I am looking for a login section for > memebers. I woud also like help making a register page, and such. I have IIS > 5.0 and php

Re: [PHP] _POST & _GET

2002-11-11 Thread Rasmus Lerdorf
> ColdFusion developers are more familiar with the URL/form distinction > than the get/post one, as the former are variable scopes. PHP developers > generally use the get/post distinction due to the arrays $_GET and > $_POST. As I understand it, mod_perl developers do not distinguish the > two, tho

Re: [PHP] _POST & _GET

2002-11-11 Thread Chris Shiflett
John W. Holmes wrote: Can I use both _GET and _POST in the same php file? Thanks!! Yes, you can use both in your code, but only one method is going to be valid when your page is requested by a user. A user can't request a page with both a GET and POST request at the same time. It is true

Re: [PHP] Can somebody help me with making a login Script?

2002-11-11 Thread Jason Sheets
Hello Matt, There are several authentication tutorials available at http://www.hotscripts.com/PHP/Tips_and_Tutorials/User_Authentication/ You may also want to look in the scripts section at http://www.hotscripts.com/PHP/Scripts_and_Programs/User_Authentication/ Both of the above links will provi

RE: [PHP] Moving Files From One Directory To Another

2002-11-11 Thread John W. Holmes
> Which built-in PHP functions would I use to move a file from one directory > into another? I'm thinking that this requires more than one function to > achieve what I want. > > What approaches should I take? Do I need to copy the file into a temporary > directory first and then move it to the des

Re: [PHP] Moving Files From One Directory To Another

2002-11-11 Thread Jason Sheets
Hello Nilaab, It sounds like you are looking for the rename() function. This function renames (also known as move) a file. You can find out more about rename() at http://us.php.net/manual/en/function.rename.php Jason On Mon, 2002-11-11 at 21:42, @ Nilaab wrote: > Which built-in PHP functions w

[PHP] PHP Timer + Java

2002-11-11 Thread Mohsin Rahman
OK.. probably a easy thing, but I am complicating it too much. Here is what I am trying to accomplish. Using PHP4.0.2 and PostgreSQL 7.1. I am creating a time tracking system where a user, based on their login, gets a list of open projects. I have clientid, projectid, description, estimate time,

[PHP] Moving Files From One Directory To Another

2002-11-11 Thread @ Nilaab
Which built-in PHP functions would I use to move a file from one directory into another? I'm thinking that this requires more than one function to achieve what I want. What approaches should I take? Do I need to copy the file into a temporary directory first and then move it to the destination dir

[PHP] Can somebody help me with making a login Script?

2002-11-11 Thread Tweak2x
can somebody please help me make an login script step one by one? My website is Http://tweak2x.cjb.net and I am looking for a login section for memebers. I woud also like help making a register page, and such. I have IIS 5.0 and php 4 installed (although it is the installer version). So can somebo

RE: [PHP] Mcrypt Under IIS 5 / Win32?

2002-11-11 Thread Ray Hunter
Basically, Are you loading the dll via the file or php? Make sure that the directory(s) where the dlls are located are in your windows path. If that doesnt work then you can always put the dll in your systems dll directory... On Mon, 2002-11-11 at 19:58, Nick Richardson wrote: > Ok, another q

RE: [PHP] Mcrypt Under IIS 5 / Win32?

2002-11-11 Thread Nick Richardson
Ok, another question if you can help. I have (I think) all the components I need (cygwin1.dll, php_mcrypt.dll, etc...). Php_mcrypt.dll is in the PHP dir, everything else is in %windir%. When I try to use any of the mcrypt stuff now, I get: PHP Warning: Unable to load dynamic library './php_mcry

Re: [PHP] User Contributed Notes at php.net?

2002-11-11 Thread @ Edwin
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > At 23:33 11.11.2002, Tracy Finifter Rotton said: > [snip] > >Does anyone know what happened to the User Contributed Notes on the PHP > >Manual? I went to go find one today, and they all appear to be gone!

Re: [PHP] echo w/ here document

2002-11-11 Thread @ Edwin
Hello Marco, "Marco Tabini" <[EMAIL PROTECTED]> wrote: > You need to remove the semicolon from the beginning of your heredoc > expression. The semicolon tells PHP (incorrectly) that the instruction > terminates, while in fact it doesn't: I think... > $name="John Doe" you meant the semicolon a

Re: [PHP] automatically updating software

2002-11-11 Thread Charles Wiltgen
Ernest E Vogelsinger wrote... >> You could use eval(), but that didn't work for me since I had mixed >> PHP/XHTML. > > Why wouldn't it work? Your example worked wonderfully, but I wasn't able to make eval() work with mixed PHP/XHTML content (which is what I'm creating). -- Charles Wiltgen --

[PHP] mktime() problem

2002-11-11 Thread Michael Mayer
Hi there, does anybody know, if the behaviour of mktime() on RedHat Linux > 7.2 is fixed in one of the latest PHP versions? Since RH 7.3 it is not possible anymore, to get a negative integer from mktime(), that means you can't get a UNIX timestamp for a date before 1.1.1970I experienced this

[PHP] Curl and post

2002-11-11 Thread John Meyer
I need to send a post array to another page. How do I do this using CURL? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Good Object-Oriented PHP Books?

2002-11-11 Thread Stephen
I'm interested in getting into the Object-Oriented field of PHP but I don't know of any tutorials or books. Any suggestions on places to go to find tutorials or books to buy? Thanks,Stephen Cratonhttp://www.melchior.us   "Life is a gift from God. Wasting it is like destroying a gift you got fr

Re: [PHP] phpMyAdmin please help

2002-11-11 Thread John Nichel
See below Iguider wrote: in my dtabase.php : $dbHost = ""; $dbUser = "Amazigh"; $dbPassword = "mcamca"; $dbName = "Forum"; $db = mysql_connect($dbHost, $dbUser, $dbPassword); mysql_select_db($dbName, $db); $dbHost is empty. If the script is on the same machine as the MySQL db, set it to "

Re: [PHP] please help, one question regarding installing GD_2.0.4with PHP_4.2.3

2002-11-11 Thread Rasmus Lerdorf
PHP 4.2.3 does not support GD 2.0.4. You need GD 2.0.1 or upgrade to the latest CVS version of PHP. (and please do not crosspost to multiple lists) -Rasmus On Mon, 11 Nov 2002, Hua (William) Li wrote: > Hello folks, > > My name is Will. I am currently using GD_2.0.4 with PHP_4.2.3 and Apache_1

[PHP] please help, one question regarding installing GD_2.0.4 with PHP_4.2.3

2002-11-11 Thread Hua \(William\) Li
Hello folks, My name is Will. I am currently using GD_2.0.4 with PHP_4.2.3 and Apache_1.3.27. I installed everything without errors. But, when I try to run my apache server, I have seen following error:

[PHP] random numbers

2002-11-11 Thread Tamas
Hi! I'm using the following method to generate 5 random lottery numbers: /* srand is not important since php v>=4.2.0 */ $numbers = range (1,90); $x = array_rand ($numbers, 5); foreach ($x as $v) echo "{$numbers[$v]} "; It works fine, except the first query: php may restart the random numbers, if

Re: [PHP] test

2002-11-11 Thread Ernest E Vogelsinger
At 19:23 11.11.2002, James Johnson said: [snip] >test [snip] and? did you pass? :) -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (ht

RE: [PHP] User Contributed Notes at php.net?

2002-11-11 Thread James Cox
they are missing temporarily as we work on re-enabling some php.net services. apologies for any inconveniences. -- James Cox php.net sysadmin -- James Cox :: [EMAIL PROTECTED] :: http://james.blogs.at/ Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ > > At 23:33 11

RE: [PHP] User Contributed Notes at php.net?

2002-11-11 Thread Carl Brandenburg
Actually they aren't there. The bottom of the page says "There are no user contributed notes for this page." on every page. Carl -Original Message- From: Ernest E Vogelsinger [mailto:ernest@;vogelsinger.at] Sent: Monday, November 11, 2002 3:34 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTE

Re: [PHP] User Contributed Notes at php.net?

2002-11-11 Thread Ernest E Vogelsinger
At 23:33 11.11.2002, Tracy Finifter Rotton said: [snip] >Does anyone know what happened to the User Contributed Notes on the PHP >Manual? I went to go find one today, and they all appear to be gone! [snip] yeah, righ

Re: [PHP] echo w/ here document

2002-11-11 Thread Marco Tabini
You need to remove the semicolon from the beginning of your heredoc expression. The semicolon tells PHP (incorrectly) that the instruction terminates, while in fact it doesn't: ECHO TEST Hello, $name. ENDOFECHO; ?> This will work. Marco -- php|architect - The magazine for PH

[PHP] echo w/ here document

2002-11-11 Thread Craig Buxton
Hi, I'm having trouble using echo w/ here document syntax. When I run $name="John Doe"; echo <<< ENDOFECHO; ECHO TEST Hello, $name. ENDOFECHO; ?> I get a parse error line 1. I've been through it a dozen times and combed all the docs I could find on the matter, but I can't find where I've

Re: [PHP] phpMyAdmin please help

2002-11-11 Thread Stephen
Your username and passwords are different. Try changing the forum's name and password to root for user and leave password blank. - Original Message - From: "Iguider" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 5:41 PM Subject: Re: [PHP] phpMyAdmi

Re: [PHP] Delivering Custom Content

2002-11-11 Thread Justin French
on 11/11/02 9:01 AM, Warmonkey ([EMAIL PROTECTED]) wrote: > Hello there, > > My CS clan has just starting using phpBB for our clan forum. We are planning > to develop a new php based site and wanted to be able to display customised > content on the main page depending on the user logged in. For i

Re: [PHP] automatically updating software

2002-11-11 Thread Justin French
on 12/11/02 1:45 AM, Peter VanDijck ([EMAIL PROTECTED]) wrote: > But that's scary for the user (granting some company access to your > server???). Wouldn't they just be providing FTP access with a uname and pword to a specific directory or group of directories? Another idea: If you have user ma

Re: [PHP] phpMyAdmin please help

2002-11-11 Thread Iguider
in my dtabase.php : $dbHost = ""; $dbUser = "Amazigh"; $dbPassword = "mcamca"; $dbName = "Forum"; $db = mysql_connect($dbHost, $dbUser, $dbPassword); mysql_select_db($dbName, $db); and in phpMyAdmin's config.inc.php : $cfgServers[$i]['host'] = 'localhost'; // MySQL hostname $cfgServers[$

[PHP] User Contributed Notes at php.net?

2002-11-11 Thread Tracy Finifter Rotton
Hello All, Does anyone know what happened to the User Contributed Notes on the PHP Manual? I went to go find one today, and they all appear to be gone! -- tracy -- Tracy F. Rotton [EMAIL PROTECTED] http://www.taupecat.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] PHP, Apache, and MySQL on MacOS X (Jaguar)

2002-11-11 Thread Paul Welty
This is the first in an excellent series of articles on this topic: http://www.macdevcenter.com/pub/a/mac/2001/12/07/apache.html HTH, Paul On 11/11/02 5:06 PM, "Gregory Hernandez" <[EMAIL PROTECTED]> wrote: > hello everyone. > > would anyone point me to a site or online article with details

Re: [PHP] PHP, Apache, and MySQL on MacOS X (Jaguar)

2002-11-11 Thread Tracy Finifter Rotton
Check out Marc Liyange's site at http://www.entropy.ch/software/macosx/welcome.html He has a lot of Mac software pre-compiled and ready for installation, including PHP installs for Jaguar. -- tracy On 11/11/02 2:06 PM, "Gregory Hernandez" <[EMAIL PROTECTED]> wrote: > hello everyone. > > would

Re: [PHP] passing variable question

2002-11-11 Thread John Nichel
Pass if via the URL Link On the display page, access the data you passed by... $_GET['picture_data'] Do a google search for "get query". Ron Clark wrote: Hello all, I have a php script that reads all the files in a directory (pictures), the outputs each picture as a link to be displayed in t

Re: [PHP] phpMyAdmin please help

2002-11-11 Thread Stephen
You may also want to check your forum's database.php after checking the phpMyAdmin's config.inc.php. - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "Iguider" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 4:47 PM Subject: Re: [PHP] phpMyAdmin

Re: [PHP] passing variable question

2002-11-11 Thread Marco Tabini
You just need to add a question mark, the name of the variable, an equal sign and its value (properly encoded): echo ''; In the receiving script, you can read the value using $_GET['myvalue']; Hope this helps! Marco -- php|architect - The magazine for PHP Professionals The first

Re: [PHP] PHP, Apache, and MySQL on MacOS X (Jaguar)

2002-11-11 Thread John Nichel
Come on guys, it's not that hard to look. http://www.php.net/manual/en/install.macosx.php http://www.mysql.com/doc/en/Mac_OS_X.html Gregory Hernandez wrote: hello everyone. would anyone point me to a site or online article with details regarding the installation of PHP, Apache, and MySQL on M

[PHP] passing variable question

2002-11-11 Thread Ron Clark
Hello all, I have a php script that reads all the files in a directory (pictures), the outputs each picture as a link to be displayed in the main frame of the html page. All of that works fine. I want to be able to "pretty up" the picture out put by placing the picture into a html table so it is c

Re: [PHP] Need Help in installation of PHP, appache and MySQL onLinux

2002-11-11 Thread John Nichel
And here for MySQL... http://www.mysql.com/doc/en/Linux-RPM.html Just worry about the client and server. John Nichel wrote: http://www.php.net/manual/en/install.unix.php You'll make it easier on yourself installing MySQL from the rpm's on your RedHat CD's. rpm -ivh mysql-xxx-.rpm Be

[PHP] PHP, Apache, and MySQL on MacOS X (Jaguar)

2002-11-11 Thread Gregory Hernandez
hello everyone. would anyone point me to a site or online article with details regarding the installation of PHP, Apache, and MySQL on MacOS X (Jaguar). any assistance would be greatly appreciated. gregory hernandez [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] Need Help in installation of PHP, appache and MySQL on Linux

2002-11-11 Thread Jason Wong
On Tuesday 12 November 2002 05:57, ppf wrote: > Hi All: > I got php/mysql/appache on my windows machine, it > works fine > Now i have to install appache/php/mysql on Linux 6.1 > red hat. I had searched the php.net for intallation > document, but it didn't have much detailed > description. I am new

Re: [PHP] Need Help in installation of PHP, appache and MySQL onLinux

2002-11-11 Thread John Nichel
http://www.php.net/manual/en/install.unix.php You'll make it easier on yourself installing MySQL from the rpm's on your RedHat CD's. rpm -ivh mysql-xxx-.rpm Be sure to install both the server and client of MySQL. ppf wrote: Hi All: I got php/mysql/appache on my windows machine, it work

[PHP] Need Help in installation of PHP, appache and MySQL on Linux

2002-11-11 Thread ppf
Hi All: I got php/mysql/appache on my windows machine, it works fine Now i have to install appache/php/mysql on Linux 6.1 red hat. I had searched the php.net for intallation document, but it didn't have much detailed description. I am new to Linux also, if u guys know some URL or doc pls let me

Re: [PHP] wildcard search?

2002-11-11 Thread John Nichel
RTFM... http://www.mysql.com/doc/en/Pattern_matching.html Håkan wrote: I'm trying to make a small and simple search function, but it only works for exact searches, and I can't figure out how to make a wildcard search, if I do it in the php or in the mysql_query, can't really find anything about

RE: [PHP] wildcard search?

2002-11-11 Thread John W. Holmes
You'll do it in the database, not PHP. Look into using LIKE in your query... SELECT * FROM yourtable WHERE column LIKE '%searchterm%' The % characters are wildcards that'll match any amount of characters. You can use _ to match a single character. You could also look at FULL-TEXT indexing in M

Re: [PHP] wildcard search?

2002-11-11 Thread Rasmus Lerdorf
That's because this is a MySQL-specific question and you should be reading the MySQL documentation or asking on the MySQL list. -Rasmus On Mon, 11 Nov 2002, Håkan wrote: > I'm trying to make a small and simple search function, but it only works for > exact searches, and I can't figure out how to

Re: [PHP] phpMyAdmin please help

2002-11-11 Thread John Nichel
Look at the "config.inc.php" file in the phpMyAdmin install directory. Iguider wrote: Hi I have a furom working under php 4.0 and when I upgrade it to php 4.2 by installing the new version of easyphp 1.6.0.0 . the new phpMyAdmin is 2.2.6 . when I run the forum or I tried to re-create a tables i

[PHP] wildcard search?

2002-11-11 Thread Håkan
I'm trying to make a small and simple search function, but it only works for exact searches, and I can't figure out how to make a wildcard search, if I do it in the php or in the mysql_query, can't really find anything about it and I don't know what to look for on php.net Håkan -- PHP General

Re: [PHP] form question ???

2002-11-11 Thread Tom Rogers
Hi, Tuesday, November 12, 2002, 2:27:10 AM, you wrote: JH> HI all... JH> looking at the code below. It works and I get what I want on the screen. BUT JH> it leaves a gap between the top lines and where the table starts equal to the JH> size of the table, ie if the table is 5 lines long the gap

[PHP] cyrus / php

2002-11-11 Thread Greg
Does anyone know of a way to add cyrus users through php? I've looked at web-cyradm but that relies on mysql...Thanks again! -Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] phpMyAdmin please help

2002-11-11 Thread Iguider
Hi I have a furom working under php 4.0 and when I upgrade it to php 4.2 by installing the new version of easyphp 1.6.0.0 . the new phpMyAdmin is 2.2.6 . when I run the forum or I tried to re-create a tables in mySQL database with a install.php it shows me the following errors : Warning: Unkn

[PHP] MD4 and lanman hash

2002-11-11 Thread Greg
Hi- Does anyone know how I can craete md4 and lanman hashes with php? Thanks!! -Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Undefined Variable errors

2002-11-11 Thread John W. Holmes
> I'm migrating to PHP from ColdFusion. > > I've been running some sample scripts I have found in various places and > all > of them throw an error: > > Notice: Undefined variable: in > c:\inetpub\wwwroot\myphpcalendar\ on line . > > In ColdFusion, I can use the tag to preset a variable. I've

[PHP] Undefined Variable errors

2002-11-11 Thread James Johnson
Hello, I'm migrating to PHP from ColdFusion. I've been running some sample scripts I have found in various places and all of them throw an error: Notice: Undefined variable: in c:\inetpub\wwwroot\myphpcalendar\ on line . In ColdFusion, I can use the tag to preset a variable. I've tried the fo

RE: [PHP] Mcrypt Under IIS 5 / Win32?

2002-11-11 Thread Nick Richardson
I will try that - Thanks for the suggestion. If it was something that simple, I'm going to shoot myself :) Thanks! //Nick -Original Message- From: .: B i g D o g :. [mailto:bigdog@;venticon.com] Sent: Monday, November 11, 2002 4:50 AM To: Nick Richardson Cc: [EMAIL PROTECTED] Subject:

RE: [PHP] Mcrypt Under IIS 5 / Win32?

2002-11-11 Thread .: B i g D o g :.
You need to uncomment the dll in the php.ini file...do a search for it and then uncomment it or add it to the php.ini file... That will load it... *Note: i would add that directory to your path that contains the mcrypt dll or all dlls for php and the extension directory to... On Mon, 2002-11-11

Re: [PHP] Building Menus based on User Rights

2002-11-11 Thread Ray Seals
I found an article 1 of 6 parts by Ben Rowe on devarticles.com. It looks like he is doing what I want to accomplish but I have to wait for the other 5 articles. When a user logs in he writes a record to MYSQL for the session. That record holds certain variables for the session. Your reply helps

RE: [PHP] test

2002-11-11 Thread John Meyer
I never do well on tests. Always forget my pencil. -Original Message- From: James Johnson [mailto:james@;owell.com] Sent: Monday, November 11, 2002 11:23 AM To: [EMAIL PROTECTED] Subject: [PHP] test test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] _POST & _GET

2002-11-11 Thread Greg
Thanks everyone :) -Greg "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:001f01c289b9$bebdf3b0$7c02a8c0@;coconut... > > Hi- > > Can I use both _GET and _POST in the same php file? Thanks!! > > -Greg > > Yes, you can use both in your code, but only one method is going to be > valid when

Re: [PHP] Running PHP code into JavaScript if-else clause

2002-11-11 Thread John Nichel
Php runs on the server, JavaScript runs on the browser. If your function "CheckNumber( $numero )" validates true, the script is going to out put your JavaScript, but the JavaScript will NOT change your php values no matter what the user selects. Wagner Marini wrote: JavaScrip and PHP together H

RE: [PHP] Exec()ing two strings, using same shell?

2002-11-11 Thread Nick Richardson
Exec("dir c:\somedir") or exec("cd somedir && dir") i.e. $dirContent = ; print($dirContent); -Original Message- From: Leif K-Brooks [mailto:eurleif@;buyer-brokerage.com] Sent: Monday, November 11, 2002 11:39 AM To: [EMAIL PROTECTED] Subject: [PHP] Exec()ing two strings, using same shell

[PHP] test

2002-11-11 Thread James Johnson
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Mcrypt Under IIS 5 / Win32?

2002-11-11 Thread Nick Richardson
Yes, there is a DLL for it, but getting PHP to know it is there is where I'm having the problem - I don’t know how to get PHP to under windows to do the equivalent of --with-mcrypt in configure under linux. - maybe I havn't registered the mcrypt dll's correctly or something like that... But I just

[PHP] ImageFill Segmentation Fault

2002-11-11 Thread kevin
Allo, I am trying to do a dynamic image as a welcome type thing for a site using the GD libraries. I was working on a development machine with 4.0.6 and GIF support and things worked fine. When I (finally) was able to check out the live machine it was 4.0.6 but no GIF support. Ok , I think no p

[PHP] Exec()ing two strings, using same shell?

2002-11-11 Thread Leif K-Brooks
Sorry if I'm using the wrong words - not sure of the exact terminology. Anyway, is there a way to exec() two statments in the same shell? Example: //On win32 test machine exec("cd somedir"); print `dir`; //Outputs directory listing for c:\, not c:\somedir //But is there a way to get the directory

Re: [PHP] Mcrypt Under IIS 5 / Win32?

2002-11-11 Thread .: B i g D o g :.
is there not a dll for mcrypt? On Mon, 2002-11-11 at 19:34, Nick Richardson wrote: > I asked this before, but didn't get a response. > > Anyone out there have any experience a/o know where I can find > information on getting the mcrypt functionality to work under Win32 - I > have found a port o

RE: [PHP] _POST & _GET

2002-11-11 Thread John W. Holmes
> Hi- > Can I use both _GET and _POST in the same php file? Thanks!! > -Greg Yes, you can use both in your code, but only one method is going to be valid when your page is requested by a user. A user can't request a page with both a GET and POST request at the same time. ---John Holmes... --

RE: [PHP] _POST & _GET

2002-11-11 Thread Nick Richardson
One thing to watch out for when doing this is that all browsers do not support the ?foo=blah in the action attribute of the form tag. IE and Mozilla can handle it fine, but (and what a surprise this is) Netscape will sometime have some trouble with it (mostly in older versions (4.x)). But this is

[PHP] Mcrypt Under IIS 5 / Win32?

2002-11-11 Thread Nick Richardson
I asked this before, but didn't get a response. Anyone out there have any experience a/o know where I can find information on getting the mcrypt functionality to work under Win32 - I have found a port of mcrypt for Win32, and also learned that you can compile it using cygwin - but I don’t know how

[PHP] Socket Connections Was: Re: [PHP] Resource type numbers

2002-11-11 Thread Gerard Samuel
Ok, I think I found out why the script Im debbugging is returning an empty string. 1. It opens a socket to the mailserver with fsockopen 2. It checks the greeting by reading using fgets() 3. Then it check the reponse by supplying the username to the fsockopen() connection 4. It returns an emp

Re: [PHP] _POST & _GET

2002-11-11 Thread .: B i g D o g :.
Basically your form is going to use one or the other you might be able to do this... Then you can use _GET to get the op=submit and use _POST for the form... never tried so i do not know...but in theory it should work... On Mon, 2002-11-11 at 19:26, GC wrote: > Hi- > Can I use both _GET

RE: [PHP] _POST & _GET

2002-11-11 Thread Nick Richardson
yes -Original Message- From: GC [mailto:gregchagnon@;hotmail.com] Sent: Monday, November 11, 2002 11:27 AM To: [EMAIL PROTECTED] Subject: [PHP] _POST & _GET Hi- Can I use both _GET and _POST in the same php file? Thanks!! -Greg -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Browser upload timeout

2002-11-11 Thread Scott Teresi
I am using a PHP script which allows the user to upload files through a browser (the script opens an FTP session behind the scenes). The problem is, all browsers (on Mac and PC platforms) often time out after a random amount of time, between five minutes and a couple hours or sometimes not at all.

[PHP] Running PHP code into JavaScript if-else clause

2002-11-11 Thread Wagner Marini
JavaScrip and PHP together Hey ALL, I really do not understand what's going on. In my code below I try to inform the user that the number added to him already exists in database but in my JavaScrit's if-else the line "" ever run, even the user wants to add the number. What's happened?? Thanks, W

[PHP] _POST & _GET

2002-11-11 Thread GC
Hi- Can I use both _GET and _POST in the same php file? Thanks!! -Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_split() - pattern problem

2002-11-11 Thread Jonathan Sharp
I believe it's U so try /T.*0.*B/U -js Jason Wong wrote: > On Tuesday 12 November 2002 02:26, Tobias Talltorp wrote: > >>How would I write the pattern for this preg_split()? >>"/T.*O.*B/", seems to only return the first and last portion of the string >>(1: Once upon a time, 2: going for a walk)

Re: [PHP] method chaining

2002-11-11 Thread Terry McBride
Thanks! Yep, this is good. Thanks for letting me know. http://www.zend.com/engine2/ZendEngine-2.0.pdf It's all been done b4 -- already been brought up :p Terry - Original Message - From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]> To: "'Terry McBride'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTE

[PHP] Resource type numbers

2002-11-11 Thread Gerard Samuel
Im debugging a script that opens a connection to a pop3 server. When I var dump the return of fsockopen() from the script Im debugging, I get -> resource(38) of type (socket) I made up a dummy script to see what I would get and the return of fsockopen is -> resource(1) of type (socket) My dummy

Re: [PHP] method chaining

2002-11-11 Thread Terry McBride
- Original Message - From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]> To: "'Terry McBride'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 1:33 PM Subject: RE: [PHP] method chaining > Apologies for the previous truncated version of this -- dunno what happened there!

RE: [PHP] form question ???

2002-11-11 Thread Ford, Mike [LSS]
> -Original Message- > From: Jim Hatridge [mailto:hatridge@;fecundswamp.net] > Sent: 11 November 2002 16:27 > > looking at the code below. It works and I get what I want on > the screen. BUT > it leaves a gap between the top lines and where the table > starts equal to the > size of the

Re: [PHP] preg_split() - pattern problem

2002-11-11 Thread Jason Wong
On Tuesday 12 November 2002 02:26, Tobias Talltorp wrote: > How would I write the pattern for this preg_split()? > "/T.*O.*B/", seems to only return the first and last portion of the string > (1: Once upon a time, 2: going for a walk). > > $string = "Once upon a time T:O.B there was a T.O,B duck wh

Re: [PHP] Building Menus based on User Rights

2002-11-11 Thread Jason Wong
On Tuesday 12 November 2002 02:05, Ray Seals wrote: > I would like for my pages to generate HTML code based on a users > rights. For example I have a table called user and it looks like this > > useridpasswordadminuser > -- > memypass

Re: [PHP] [ANN] Zip code db available with latitude and longitude

2002-11-11 Thread UberGoober
I've been down the road of getting all that data from the "Free" government sources. And I'll tell ya, spending the $130 to get this data is more than worth the week I spent getting everything together from census data. Think it through, if you bill out @ $100/hour as a developer, you basically mor

[PHP] form question ???

2002-11-11 Thread Jim Hatridge
HI all... looking at the code below. It works and I get what I want on the screen. BUT it leaves a gap between the top lines and where the table starts equal to the size of the table, ie if the table is 5 lines long the gap is 5 lines etc. Any ideas what I'm doing wrong? Thanks, JIM ##

RE: [PHP] method chaining

2002-11-11 Thread Ford, Mike [LSS]
Apologies for the previous truncated version of this -- dunno what happened there!! > -Original Message- > From: Terry McBride [mailto:terry@;boxitllc.com] > Sent: 11 November 2002 15:53 > > I have a question about php and OO. I want to chain methods > together having > them performed o

RE: [PHP] method chaining

2002-11-11 Thread Ford, Mike [LSS]
> -Original Message- > From: Terry McBride [mailto:terry@;boxitllc.com] > Sent: 11 November 2002 15:53 > > I have a question about php and OO. I want to chain methods > together having > them performed on the results of the following method. > Meaning something > like $foo->get("bar")-

[PHP] preg_split() - pattern problem

2002-11-11 Thread Tobias Talltorp
How would I write the pattern for this preg_split()? "/T.*O.*B/", seems to only return the first and last portion of the string (1: Once upon a time, 2: going for a walk). $string = "Once upon a time T:O.B there was a T.O,B duck who was T-O'B going for a walk"; $array = preg_split('/T.*O.*B/', $s

Re: [PHP] starting recompiled php as a cgi-interpreter

2002-11-11 Thread Maxim Maletsky
here: http://www.php.net/manual/en/install.apache.php -- Maxim Maletsky [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote... : > Hi Maxim, > > can you please be so kind to forward me the according link to > the manual regarding the installation of php as cgi. > > On the www.php.net site there i

Re: [PHP] starting recompiled php as a cgi-interpreter

2002-11-11 Thread Tom Woody
I did a search for cgi in the online documentation, and the first item was this: http://www.php.net/manual/en/printwn/install.commandline.php On Mon, 11 Nov 2002 19:10:08 +0100 <[EMAIL PROTECTED]> wrote: > Hi Maxim, > > can you please be so kind to forward me the according link to > the manual

Re: [PHP] starting recompiled php as a cgi-interpreter

2002-11-11 Thread info
Hi Maxim, can you please be so kind to forward me the according link to the manual regarding the installation of php as cgi. On the www.php.net site there is not much about php as a cgi interpreter. Thank u Oliver Etzel lowcost domains lowcost serverhousing www.t-host.de - Original Mess

[PHP] Building Menus based on User Rights

2002-11-11 Thread Ray Seals
I would like for my pages to generate HTML code based on a users rights. For example I have a table called user and it looks like this useridpasswordadminuser -- memypassY you yourpass Y When a person logs in the

[PHP] time out when uploading.. PLEASE HELP ME :)

2002-11-11 Thread Eduardo M. Bragatto
I'm using a simple php script called upload.php, here's the source: move_uploaded_file($userfile, "/my/dir"); ?> But I keep getting an error message: Fatal error: Maximum execution time of 20 seconds exceeded in D:\dominios\E\escolas-es\spe\upload.php on line 3 Then, I've tried to increase

RE: [PHP] [ANN] Zip code db available with latitude and longitude

2002-11-11 Thread John W. Holmes
> On Tuesday 12 November 2002 01:26, John W. Holmes wrote: > > This is actually a pretty common question on here, so it's good to know > > of another source to point people to. > > You really meant "... so it's good to know that if people search the > archives > they'll find another source [of zip

  1   2   >