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 to

[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

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

[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

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

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 'a href=myurl?myvalue=' . urlencode ($value) . ''; In the receiving script, you can read the value using $_GET['myvalue']; Hope this helps! Marco -- php|architect

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 please

Re: [PHP] passing variable question

2002-11-11 Thread John Nichel
Pass if via the URL a href=yourlink.php?picture_data=whateverLink/a 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

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 anyone

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

[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,

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

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

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

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] phpMyAdmin

[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 ?php $name=John Doe; echo ENDOFECHO; HTML BODY H3ECHO TEST/H3 Hello, $name. /BODY /HTML 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

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: ?php $name=John Doe echo ENDOFECHO; HTML BODY H3ECHO TEST/H3 Hello, $name. /BODY /HTML ENDOFECHO; ? This will work.

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,

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

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

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

[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] 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

[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

[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] 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

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

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... ?php $name=John Doe you meant the semicolon at

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] 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] 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:

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

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

[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

[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

[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

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

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

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

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

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, though

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 4

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 when I

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

[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']

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 and

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'] $_SESSION['pass'] =

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

<    1   2