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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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.
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,
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
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
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
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
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
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
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
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
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
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
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!
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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']
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
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'] =
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
101 - 148 of 148 matches
Mail list logo