Re: [PHP] BET News

2001-05-04 Thread Hrishi
posted mailed MTV Jams wrote: http://www.mp3.com/mcpedro from [EMAIL PROTECTED] The question is this, If you placed a Jamaican born MC on a Hip Hop/Trance/Techno track and told him to flow without losing his yard essence (Jamaican Vibes), what would you get? Most likely confusion of

Re: [PHP] OT-Please bare with me :)

2001-05-04 Thread Hrishi
Brandon Orther wrote: menu on the new Cobalt XTR server admin section. If anyone has a JavaScript or a tutorial how to make a drop down menu please send me a link. try http://www.webreference.com/dhtml/ cheers, Hrishi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] HI

2001-05-04 Thread Hrishi
in the directives of Apache are you browsing the filesystem (file://C|/..) or through apache (http://localhost/;) ? remember that you can add hosts/aliases using the file c:\windows\hosts cheers, Hrishi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Getting the first part out of a string

2001-05-04 Thread Hrishi
Richard Kurth wrote: I know how to get last part of a string out of a string But how do I get the first part before the needle On the example below I just what domain $hostdomain= domain.com $host = substr (strrchr ($hostdomain, .), 1); strrchr (two r) finds the first occurence

Re: [PHP] [Fwd: Problem in renaming file]

2001-03-02 Thread Hrishi
Sebastian Bergmann wrote: Carrie KL Tam wrote: Hi Sebastian, Don't understand why the following code keep telling me the error "Rename failed (Invalid argument)": ?php $forig = 'd:/pict/orig/YI3 ?a.3WOHF'; way i see it, ? and * (among others) are special chars in wind0ze chee

Re: [PHP] [Fwd: Problem in renaming file]

2001-03-02 Thread Hrishi
Hrishi wrote: Sebastian Bergmann wrote: Carrie KL Tam wrote: Hi Sebastian, Don't understand why the following code keep telling me the error "Rename failed (Invalid argument)": ?php $forig = 'd:/pict/orig/YI3 ?a.3WOHF'; $fcopy = 'd:/pict/copy/test1'; if (rename($sourcepat

Re: [PHP] Export Linux Users and Password's to MYSQL database

2001-03-01 Thread Hrishi
On Thursday 01 March 2001 17:37, Joe Njeru wrote: Hi All, Is there a way I can export the users in my Linux machine to a mysql database. Together with their passwords without manually entering all of them. the passwords are usually encrypted and stored in /etc/passwd or /etc/shadow

Re: [PHP] Double Click

2001-03-01 Thread Hrishi
On Thursday 01 March 2001 21:41, Brinkman, Theodore wrote: A tactic I've been planning to use, but don't know if it actually works or not, is to disable the button first thing in its onClick so the second click occurs on a disabled button. Does anybody know if this actually works or not?

Re: [PHP] CGI BIN PHP

2001-02-21 Thread Hrishi
; AddHandler application/x-php4-script php i hope you can use this. if you have any other problems, reply to the list because i'm sure more people can use this 'technique'. its still under testing, (i made it 2 days ago) so if there are any changes i need to make, i'll post it h

Re: [PHP] HTTP Content-length...

2001-02-20 Thread Hrishi
e original; which in PHP will look like : ? $string ="foo=barfood=apple"; $encodedstring=urlencode($string); $contentlength=strlen($encodedstring); ? other methods may or may not work if they're not HTTP compliant. cheers, hrishi -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP as CGI

2001-02-19 Thread Hrishi
found on this server. Apache/1.3.3 Server at www.website.com Port 80 --- the installed CGI is php 4.0.3pl1, it runs fine from the command line. any ideas? thanks, Hrishi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: [PHP] something wrong at my mail set up in php.ini

2001-02-19 Thread Hrishi
, if you dont see any warnings despite the above line, you can be sure its a configuration problem. cheers, Hrishi -- 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

Re: [PHP] ASP / PHP / embedded scripting (possibly OT)

2001-02-19 Thread Hrishi
the above, a preliminary search of M$DN online for the keyword 'python' yields : http://msdn.microsoft.com/library/psdk/cdo/_olemsg_about_active_server_pages.htm i think you can find your way from here, cheers, Hrishi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] checking image extensions

2001-02-18 Thread Hrishi
if ((substr($imgName, -4) != ".jpg") || (substr($imgName, -4) != ".gif")) this case, in plain english is : if ext is not jpg, OR if ext is not gif, error the ext will never be both jpg and gif at the same time, so you're looking for the condition: if ((substr($imgName, -4) != ".jpg")

Re: [PHP] MySQL: Add Autoincrement Field?

2001-02-18 Thread Hrishi
e only one record, assuming that song names are unique per book. however, with scalability and performance taken into consideration, an index with a unique id makes a lot of sense. note that you can have only one autoindex field per table as of mysql 3.22.* cheers, hrishi -- PHP General Mailing

Re: [PHP] DefaultType, FreeBSD, Mod_Rewrite, trailing slash

2001-02-10 Thread Hrishi
RewriteCond %{SCRIPT_FILENAME} -d i aint no guru but try puttin %{REQUEST_URI} up there in place of SCRIPT_.. hrishi -- 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

Re: [PHP]Spider script in PHP.

2001-02-10 Thread Hrishi
On Friday 09 February 2001 21:28, Angerer, Chad wrote: maybe late and all, this pieca code was lying around somewhere in my socks ;) see if ya can use it, hrishi begin code snippet ? function recurse($from,$func="echo") { if(strrchr($from,"/")=="

[PHP] *Animated* images. (repost)

2001-02-05 Thread Hrishi
Hello, I'm sorry for the repost, but the last one was misunderstood (i think). i'm looking for ways to generate *animated* images using PHP. thanks, Hrishi

[PHP] Animated / Streaming GIF

2001-02-03 Thread Hrishi
hello, is there any way to create an animated GIF [or PNG] image using the php image functions ? thanks, Hrishi

Re: [PHP] multiple function returns

2001-01-25 Thread Hrishi
t;language pref: ".$prefs["language"]; echo "currency pref: ".$prefs["currency"]; hope this helps. Hrishi

Re: [PHP] Search for the documentation

2001-01-24 Thread Hrishi
why dont you download the BIG one-file manual compilation from http://www.php.net and use the find t0ol in your web browser ? just my $0.02 --- Yeah, there are more important things in life than money, but they won't go out with you if you don't have

[PHP] how to escape ? and ?

2001-01-22 Thread Hrishi
Hello all, I'm working on a script that processes and returns a php script. i need to know how to escape the ? and the ? in the string constants that make up the script. thanks, Hrishi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] general CGI question

2001-01-18 Thread Hrishi
Hello, I need to know how to get apache to parse CGI output with the SSI parser (the [php] script will have includes, which need to go through mod_include). changing the mime-type to x-server-parsed or anything hooked by mod_include doesnt help. thanks, Hrishi -- PHP General Mailing List

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread Hrishi
If you're still interested, try cooledit for linux/unix http://cooledit.sourceforge.net/ --- Yeah, there are more important things in life than money, but they won't go out with you if you don't have any. -- PHP General Mailing List

[PHP] Template parser

2001-01-16 Thread Hrishi
Hello, Is it possible using apache .htaccess to have every file served from a particular domain/directory pass through a custom script? or is it necessary to make changes at the root level? Thanks, Hrishi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: Is there an error??

2001-01-14 Thread Hrishi
$odate_sql is not initialized. --- Yeah, there are more important things in life than money, but they won't go out with you if you don't have any. - Original Message - From: "Dhaval Desai" [EMAIL PROTECTED] To: "Hrishi" [E

Re: [PHP] Send Authorization: base64 Header

2001-01-13 Thread Hrishi
i'dve waited for your reply but i'm going home now so check the RFC : http://www.freesoft.org/CIE/RFC/index.htm look for Hypertext transfer protocol, v 1.0 in that look for a chapter called client authentication or somehting like that. that should do it. Hrishi -- PHP General Mailing List

Re: [PHP] Months...Problem..

2001-01-12 Thread Hrishi
try using the date_* functions in mysql its somewhere in the manual reference section, date and time functions. --- Yeah, there are more important things in life than money, but they won't go out with you if you don't have any. - Original Message -

Re: [PHP] Months...Problem..

2001-01-12 Thread Hrishi
ok, here DATE_ADD(date,INTERVAL expr type) and here http://www.mysql.com/doc/D/a/Date_and_time_functions.html --- Yeah, there are more important things in life than money, but they won't go out with you if you don't have any. - Original Message

RE: [PHP] Dynamic 'left menu's' on site: Like a windows explorer system???

2001-01-11 Thread Hrishi
take a look at phpmyadmin. they have something similar. i cant remember the URL (and i'm too lazy) but u can find it from http://freshmeat.net/projects/phpmyadmin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: