[PHP] where are project ?

2002-06-19 Thread RoyD
where i find the free project web site that i search , especially with PHP and database web site ?? because iam a freelance programmer , i need more project ? Roy Daniel , ST IT Developer System - PT BERCA COMPUTEL My E-mail : [EMAIL PROTECTED] and : [EMAIL PROTECTED] / [EMAIL PROTECTED] My ICQNu

[PHP] Re: PHP and SSI

2002-06-19 Thread Shashwat Nagpal
no you can't use SSI in your PHP files, but u can use commands like include(); to include a file in ur program, and other functions for different uses. to know more go through php.net.. it's the best resource. Cheers! Shashwat Nagpal Web Developer & IS Executive, DIREM Marketing Services Pvt. L

Re: [PHP] Setting my.cnf [client] values in PHP

2002-06-19 Thread Clay Loveless
[Sorry about replying to my own thread here] I've looked in php_mysql.c in the PHP source distribution, and it looks like the "mysql." php.ini variables that are recognized are hard-coded. Okay ... Is there any other way to get PHP to pick up these three values? My understanding of how the

[PHP] apache security

2002-06-19 Thread Josep R. Raurell
Hello. I think nobody had send this warnig to the list. Sorry if you already nows. This text is from the apache web: SECURITY ADVISORY Versions of the Apache web server up to and including 1.3.24 and 2.0 up to and including 2.0.36 contain a bug in the routines which deal with invalid request

[PHP] error messages

2002-06-19 Thread Shashwat Nagpal
Hi! I did some code, and I am getting warning messages everywhr, I know thr is a code for it, can u help me? I forgot that msg. keep in mind, I don't have the xs to php.ini... pls. tell me the settings for the code file itself.. thanks. -- _ Shashwat Nag

Re: [PHP] error messages

2002-06-19 Thread Philip Olson
Try the error_reporting function, which is also a PHP directive in php.ini http://www.php.net/manual/en/features.error-handling.php http://www.php.net/error_reporting Although you should just fix the errors ;) Regards, Philip Olson On Wed, 19 Jun 2002, Shashwat Nagpal wrote: > Hi! I did

Re: [PHP] SQL Statement

2002-06-19 Thread èdy kurniawan
Sorry... michi.. I've ignored your advice to quote the script as : > 3. > you have to quote "v$session": "v\$session" - yeah.. the script is work when I change the script right below : $query = "Select OSUSER >From v\$session Where USERNAME = (Select USER From DUAL) And AUDSID =(Select USE

Re: [PHP] Small CGI Serve

2002-06-19 Thread BB
Because that's how they get there! "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hail, BB: > > On Tue, Jun 18, 2002 at 12:37:29PM +0100, BB wrote: > > > > Having finally found out how to pass the Environment vars onto PHP, I am > > stum

[PHP] catch the client OS user logon from php script

2002-06-19 Thread èdy kurniawan
Dear PHP-ers, How can I capture my client OS user logon via PHP script ? TIA, edyk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help with some class problem

2002-06-19 Thread Uros Gruber
Hi! i'm making some modular aplication. I have one base class for example: class Main { function loadmod($name,&$mod) { $mod = new $name; // load module } } In module class i want to use some properties from main module, but i don't know how to solve this. But i don't want extend a

RE: [PHP] catch the client OS user logon from php script

2002-06-19 Thread John Holmes
Look at a phpinfo(); page. All of the variables you can get are shown there. Look for the one you want. ---John Holmes... > -Original Message- > From: èdy kurniawan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 19, 2002 4:44 AM > To: [EMAIL PROTECTED] > Subject: [PHP] catch the clie

RE: [PHP] catch the client OS user logon from php script

2002-06-19 Thread Brian McGarvie
$_ENV["OS"] (see MANUAL for more that you can capture!) > -Original Message- > From: èdy kurniawan [mailto:[EMAIL PROTECTED]] > Sent: 19 June 2002 9:44 AM > To: [EMAIL PROTECTED] > Subject: [PHP] catch the client OS user logon from php script > > > Dear PHP-ers, > > How can I capture

Re: [PHP] catch the client OS user logon from php script

2002-06-19 Thread Clay Loveless
Edy, If you're referring to the OS a visitor to your site is using (not the OS your PHP is running on, which you probably know), you'd want: $_SERVER["HTTP_UA_OS"] -Clay > From: "Brian McGarvie" <[EMAIL PROTECTED]> > Date: Wed, 19 Jun 2002 09:54:39 +0100 > To: èdy kurniawan <[EMAIL PROTEC

[PHP] parse text

2002-06-19 Thread sonjaya
i want read some tex like this here contens file text 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ 1. i want read from first left until eight caracter (12345678 <-- caracter i cant read ) it can be use fread 2. i want read 5 from nine (9) caracter from left ( 0ABCD <--the caracter must i re

[PHP] parse text

2002-06-19 Thread sonjaya
i want read some tex like this here contens file text 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ 1. i want read from first left until eight caracter (12345678 <-- caracter i cant read ) it can be use fread 2. i want read 5 from nine (9) caracter from left ( 0ABCD <--the caracter must i re

[PHP] previous, current and next while looping

2002-06-19 Thread Wilbert Enserink
Hi all, I'm doing this query and looping through the results: $result_ID_ID=mysql_query($gallery_list_query) OR die(mysql_error()); $counter=0; while ($queryresult_IDresult=mysql_fetch_array($result_ID_ID)) { $result_array['$counter']=$queryresult_IDresult; if ($result_array['$counter

[PHP] Re: parse text

2002-06-19 Thread Henrik Hansen
[EMAIL PROTECTED] (Sonjaya) wrote: > i want read some tex like this > > here contens file text > > 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > > 1. i want read from first left until eight caracter (12345678 <-- > caracter i cant read ) > it can be use fread > 2. i want read 5

[PHP] Forum with php

2002-06-19 Thread Martin Thoma
Hello! I saw a lot of forums (or boards) which looks almost the same and they are done in php. Is there a free forum-software in php? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] catch the client OS user logon from php script

2002-06-19 Thread Brian McGarvie
does... $_SERVER["HTTP_UA_OS"] exist? I can't see that ne where and when I try to use it t's blank... Also... I was using that as an example to put him on the right track... afterall nuthing is learnt if your given it on a plate... if you want the exact OS, you need to extract it from $user

RE: [PHP] parse text

2002-06-19 Thread Brian McGarvie
You could do it using the substring it you ALWAYS for each line want the characters at that exact location. $moo = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $partition = substr($moo, 9, 5); this would return 5 characters from position 9 in the string which would be: 0ABCD hope this helps... >

Re: [PHP] catch the client OS user logon from php script

2002-06-19 Thread Clay Loveless
This is funny -- I see $_SERVER["HTTP_UA_OS"] in the output of phpinfo(), and naturally assumed it was part of the $_SERVER superglobal array. This definitely isn't the first time I've seen a discrepancy between what phpinfo() shows in terms of server/apache/environment variables, and what you ca

[PHP] Re: parse text

2002-06-19 Thread BB
At a guess, without trying it out $fp = fopen("your file") or echo "Cant open your file"; $tmp = fread($fp,1024); preg_match("/(.{8}).(.{5})/",$tmp,$matches); then $matches[1] will have the first part and $matches[2] will have the second note: $matches[0] = whole preg'd text "Sonjaya" <[EMAIL P

[PHP] Re: Forum with php

2002-06-19 Thread BB
PHPBB Use google to search :o) "Martin Thoma" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello! I saw a lot of forums (or boards) which looks almost the same and > they are done in php. Is there a free forum-software in php? > > Martin > > -- PHP Gene

RE: [PHP] shtml problem

2002-06-19 Thread savaidis
For a strange reason iframes DOESN'T work with shtml. (doen't pass the var ip = ''; as parameter with a FORM/POST to a php script. It shows is but it doesn't pass it!) I had to change them to FRAMEs. Makis > -Original Message- > From: Analysis & Solutions [mailto:[EMAIL

[PHP] real IP?

2002-06-19 Thread savaidis
using the ip var ip = ''; in script I get one IP address NOT the same with this one that gives me the program and it is allways the same (I have dynamic access so my IP must vary) I think it is the IP of my host. Can't I get my real IP number? Thanks Makis -- PHP General Mailing List

Re: [PHP] Forum with php

2002-06-19 Thread 1LT John W. Holmes
http://phorum.org - Original Message - From: "Martin Thoma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 19, 2002 5:43 AM Subject: [PHP] Forum with php > Hello! I saw a lot of forums (or boards) which looks almost the same and > they are done in php. Is there a fr