[PHP] Problems With Fopen

2001-02-02 Thread Joe
/faid/newsitems/news.txt","r") - No such process in d:/www/ome/faid/new.php on line 67 Thanks again --Joe http://www.koston.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Windows Time modification 12/31/1969???

2001-02-02 Thread Joe
I'm opening the files in a directory, and trying to find the most recent modification date. The problem is that I'm getting the date of 12/31/1969 for all my files, and when I try to print out the modification timestamp from filemtime directly I get nothing. If you look at the code you can

[PHP] Associative vs normal arrays

2001-03-16 Thread Joe
Is there a way to determine if an array is associative or not? Maybe something similar to the is_array() function ?? Thanks, JOE

Re: [PHP] Associative vs normal arrays

2001-03-16 Thread Joe
Oops, how embarassing :-( My son must have been playing with it. Thanks! - Original Message - From: Chris Mulcahy [EMAIL PROTECTED] To: 'Joe' [EMAIL PROTECTED] Sent: Friday, March 16, 2001 3:51 PM Subject: RE: [PHP] Associative vs normal arrays Joe: Were you aware your system time

[PHP] PHP print

2001-04-02 Thread Joe
torial out there then I would like to make my own. Thank you! Joe -- 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: [EMAIL PROTECTED]

[PHP] How to save the result page generated by a Form?

2001-12-20 Thread Joe
as .txt or .rft or .html How can I do that? I try many ways ...(using no session) ..but I can only save the empty b.php page ...with no varialbles showed at all. Thanx for your help and Marry XMas from Italy. BR Joe -BEGIN PGP SIGNATURE- Version: PGPfreeware 7.0.3 for non-commercial

[PHP] hidden value

2002-04-03 Thread Joe
? thx! best regards, Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] redirect browser

2002-04-19 Thread Joe
about this. Can anyone tell me what's wrong of my code? Thx! Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] redirect browser

2002-04-20 Thread Joe
may be my message are hazy. the line = is not include in my php code/page, i just use it in this message as to divide into different section. Joe Jason Wong [EMAIL PROTECTED] ???:[EMAIL PROTECTED] On Saturday 20 April 2002 09:26, Joe wrote

[PHP] [HELP] redirect browser pass variable !

2002-04-21 Thread Joe
I am using header function to redirect browser. { header(Location: http://www.XXX.edu/index.php;); exit;} Although it can redirect the browser but variable had not pass to next page. So can anyone teach me how to pass variable and redirect browser at same time? Thx ! Joe -- PHP

Re: [PHP] Re: [HELP] redirect browser pass variable !

2002-04-22 Thread Joe
I can do it now. Thanks all of you ! Joe Hugh Danaher [EMAIL PROTECTED] ???:000b01c1e9c5$02ccf460$[EMAIL PROTECTED] { header(Location: http://www.XXX.edu/index.php?variable=$variablesecond_variable=$second_vari able); exit;} You'll get to transfer about 255 characters using

[PHP] operators as callbacks?

2008-11-29 Thread Joe
Is it possible to use a PHP operator as a callback? Suppose I want to add two arrays elementwise, I want to be able to do something like this: array_map('+', $array1, $array2) but this doesn't work as + is an operator and not a function. I can use the BC library's math functions instead:

[PHP] a stupid question

2003-07-24 Thread Joe
how to check the filetype of remote file because is_dir(), is_file() can't work on remote file thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Please help!!! thx a lot~~~

2003-07-24 Thread Joe
I have written a php to show file in directories. The problem is due to is_dir() can't opearate on remote files. What should I do in order to fix it. thx a lot~~~ begin 666 list.php M/#]P:' -B @)9I;5N86UE/2=L:7-T+G!H[#0H@(=L;V)A; D8W5R ME]D:7([#0H@(1C=7)R7V1ICTG+B[#0H@(EF*ES4V5T*1?1T54*28F

[PHP] Re: Please help!!! thx a lot~~~

2003-07-24 Thread Joe
any alternative method is also welcome Joe [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] I have written a php to show file in directories. The problem is due to is_dir() can't opearate on remote files. What should I do in order to fix it. thx a lot~~~ -- PHP General Mailing List

[PHP] Please help!!!~~thx a lot

2003-07-24 Thread Joe
I have just started to learn php and written a php to list the files. But there is a problem, seen the is_dir() function can't work on remote files. Therefore, it couldn't check the filetype of subdirectories. Would anyone tell me what should I do. Thx a lot begin 666 list.php M/#]P:' -B

Re: [PHP] a stupid question

2003-07-24 Thread Joe
thx Jacob Vennervald Madsen [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] Download it and then check it. But if you need to check a lot of files that's probably to slow. Jacob Vennervald On Thu, 2003-07-24 at 06:03, Joe wrote: how to check the filetype of remote file because

[PHP] Re: Please help!!! thx a lot~~~

2003-07-24 Thread Joe
I see the point but I just want to list the subfolder under my directory. Could you please tell me how to distinguish a directory from a file in Unix thx a lot Sven [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] hi joe, you want a server-script, that lists a dir on a client? i think

Re: [PHP] Re: Please help!!! thx a lot~~~

2003-07-24 Thread Joe
HTTP my department disable the function of listing file Marek Kilimajer [EMAIL PROTECTED] ???:[EMAIL PROTECTED] What is remote in your circumstances? FTP, HTTP, ... ? Joe wrote: any alternative method is also welcome Joe [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] I have written

[PHP] nonblocking socket causes 100% cpu usage

2003-09-29 Thread Joe
waiting.) Thanks Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] need help with preg_match

2003-02-08 Thread joe
Hi I have to alter this code: ?php $fp = fopen ('http://www.whatever.ee/', 'r'); for ($src = ''; !feof ($fp); $src .= fgets ($fp, 1024)); fclose ($fp); if (preg_match ('/\font color=black\([^]*)\\/font/i', $src, $matches)) echo'Match: b'.$matches[1].'/b'; else echo'No match !';

Re: [PHP] need help with preg_match

2003-02-08 Thread joe
Thank You very much! It Really works the way I want it to. But i still have a slight problem. The script cant read the data if it is on several rows. For example: table font color=black trtext/tr /font /table Is there a way to fix this problem? Thank You! Chris Hayes [EMAIL PROTECTED]

[PHP] calculating kilobytes

2003-02-14 Thread joe
hi first of all i think this is a great community here :) now to the point... i need a script. it should work on safe mode php so it should be as simple as possible. it should calculate all the file sizes in the directory that it is in and in the subdirectories also (only 1 level subdirectories).

Re: [PHP] calculating kilobytes

2003-02-14 Thread joe
Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday 15 February 2003 03:17, joe wrote: now to the point... i need a script. it should work on safe mode php so it should be as simple as possible. it should calculate all the fi

Re: [PHP] calculating kilobytes

2003-02-15 Thread joe
Greg Donald [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, 14 Feb 2003, joe wrote: i searched and i tried and i failed. most of the functions dont work in safe mode, some didnt do what i wanted (returned the whole drive size instead of one d

[PHP] browser uploading

2003-03-02 Thread joe
i am operating on safe mode and i need to figure out, how to upload files with php through your browser. copy() is disabled for sure, im not absolutsely sure about other functions. i have heard that it is actually possible but so far i haven't been able to figure out how.. any ideas would be most

[PHP] checking array

2003-03-15 Thread joe
what is the best way to check, if a value is NOT in an array? the purpose is to take results from a webpage and check one-by-one if they are in the txt file already. if they are not, i have to write them there.. If they are in there then i just want to leave them alone. this is what i came up with

[PHP] upload file size

2003-11-14 Thread joe
it several times - if the file is much larger than allowed, it displays the error message but the page loads a lot longer and my computer is sending the file to the server. this could really kill my bandwidth. is there a way to check the file size without fully uploading the file? thanks joe

[PHP] saving variables and including files.

2003-12-30 Thread Joe
that are going to save some data, but like 3 or 4 entries each. Since my webspace limits the number of databases, i'd rather do it without the use of that. My second question is about including pages. would |?PHP include 'menu.html'; ? include the file the same way a SSI include would? Thanks. -Joe

[PHP] tow dimenshional arrays

2004-02-21 Thread joe-at
Hallo, 1) I want to work with the rows und columns of a tow dimensional array[i][j]. With array[i] I get the i'th row. But how can I get the j'th column? 2) Is there any command to transpose a two dimensional array? Thanks for help -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: tow dimenshional arrays

2004-02-23 Thread joe-at
Like I supposed there is no efficient way how to do. Thank you for the functios and the help of all of you. Best regards, joe-at Manuel VáZquez Acosta [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Namaste Adwinwijaya: I meant there's no PHP function neither to get a column

[PHP] frameset und php-script in frame

2004-02-24 Thread joe-at
sollt ein PHP-Skript erscheinen: Wer fersteht das noch? Thanks for help joe-at -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] frameset und php-script in frame

2004-02-25 Thread joe-at
joe-at wrote: hi pleas help me, when I try to use php in a frame of a frameset it dos not work. what is wrong with my files? fameset.html: html head titleframeset/title /head frameset rows=83*,377* cols=* frame src=test.php name=topFrame frame src=Info.htm name=mainFrame

[PHP] pleas help me with frameset and php

2004-02-25 Thread joe-at
: test.php works without frameset: Jetzt sollt ein PHP-Skript erscheinen: Wer fersteht das noch? Thanks for help joe-at -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] frameset und php-script in frame

2004-02-25 Thread joe-at
Sorry I wanted to say, that the original frame was long inough. frame src=test.php name=topFrame scrolling=yes But I tried it again, and it does not work! joe Sam Masiello [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Yes, they are wide enough...i was speaking of long

[PHP] Re: pleas help me with frameset and php

2004-02-25 Thread joe-at
Pleas change the line 5 in my frameset file. frame src=test.php name=topFrame scrolling=yes The original line makes a too short top frame. But this does not solve my problem. Joe-At [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] hi pleas help me, when I try to use php

[PHP] Re: frameset und php-script in frame one part solved!

2004-02-25 Thread joe-at
Thanks for help, only my testserver has a problem with my skripts. It seems that I have not actually tested it on the server. joe Joe-At [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Sorry I wanted to say, that the original frame was long inough. frame src=test.php name

[PHP] Re: pleas help me with frameset and php, party solved

2004-02-25 Thread joe-at
Thanks for help, only my lokal testserver has a problem with my skripts. It seems that I have not actually tested it on the webserver bevore posting. joe Joe-At [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] hi pleas help me, when I try to use php in a frame of a frameset

Re: [PHP] 2d array?

2001-01-10 Thread Joe Stump
$file should be the name of the file - there is a PHP variable for this but I'm drawing a blank right now. --Joe On Wed, Jan 10, 2001 at 08:40:21PM -0500, Kurth Bemis wrote: i'm confused by the method the go about this. i want to have a location: home / company / about on a page like server.com

Re: [PHP] Autonomous Mass Mail List System (Broadcast Email)

2001-01-10 Thread Joe Stump
uot;,$line)) { // example of parsing out the From: header } } ? I had email addresses setup like ezmlm - ie [EMAIL PROTECTED] or on the other hand [EMAIL PROTECTED] - then just parse out the To: address and replace the = with a @ (dashes as well with something else) and remove the ema

Re: [PHP] FORM problem

2001-01-10 Thread Joe Stump
Have you tried looking at addslashes() ??? Or am I not understanding the problem here. Just remember to deliminate the "'s and ''s before entering them into the db. --Joe On Wed, Jan 10, 2001 at 08:19:24PM -0500, Romulo Roberto Pereira wrote: Hello! I am having a problem when people

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Joe Stump
is slow hasn't used a NetApp --Joe Michael On Saturday, January 13, 2001, at 03:43 PM, Cal Evans wrote: When you say "handled by us" do you mean you: 1) Write the sess_* files to a shared drive 2) Store them in the database 3) ignore them totally, who needs us

Re: [PHP] PHP vs JSP

2001-01-14 Thread Joe Stump
This has been covered extensively in the archives - just an FYI. --Joe On Sun, Jan 14, 2001 at 10:10:56PM -0600, Cal Evans wrote: Actually, I understand what he's trying to say, even if I don't agree with him. The main problem people have had with load balancing is sessions. If a particular

Re: [PHP] Unknown number of fields

2001-01-15 Thread Joe Stump
http://www.php.net/manual/en/function.mysql-fetch-field.php --Joe On Mon, Jan 15, 2001 at 05:27:03PM +0200, Shimon Dekel wrote: Hi, I need to be able to reactive an unknown number of fields from a Data Base generated form. How do I handle an unknown number of fields? II can generate a list

Re: [PHP] Date data type problem

2001-01-15 Thread Joe Stump
This is not possibly - do this on $date2 first: $foo_date2 = str_replace('-',$foo_date2); then if($date1 $foo_date2) { } else { } --Joe On Mon, Jan 15, 2001 at 03:15:38PM -0600, Jacky@lilst wrote: Hi people, I have tried to compare 2 date values to see if one come before another using

Re: [PHP] load balancing with php/apache?

2001-01-15 Thread Joe Stump
I would agree - we started using one at work (the 760 I believe) with 128GB of online RAID 4 storage - YUM! We run a large SUN DB and run our DB straight from the NetApp. NetApp basically rules. --Joe On Mon, Jan 15, 2001 at 10:08:32AM -, Tim Parkin wrote: A NetApp (Network Appliance

Re: [PHP] variable question

2001-01-19 Thread Joe Stump
Put them in an array? PHP allows for variable variables, but I'm not sure they work with classes. This works: $foo0 = 'a'; $foo1 = 'b'; $foo2 = 'c'; $foo3 = 'd'; $foo4 = 'e'; for($i = 0 ; $i 5 ; ++$i) { $var = 'foo'.$i; echo $$var; } Try it with an object... --Joe On Fri

Re: [PHP] help!!! (PHP)

2001-01-23 Thread Joe Stump
Use cron for this - put the following in your crontab ("crontab -e") to run a script everyday at midnite: 0 0 * * * lynx -source http://www.server.com/script_to_run_every_night.php man crontab will tell you how to run on different days, etc. --Joe On Tue, Jan 23, 2001 at 09:53:

Re: [PHP] -

2001-01-24 Thread Joe Stump
$Something is an instance of a class - so like this: class Foo { var $test function echo_test() { echo $this-test; } } $foo = new Foo; $foo-test = 'this'; $foo-echo_test(); --Joe On Wed, Jan 24, 2001 at 12:05:17PM -0700, Karl J. Stubsjoen wrote: What does

Re: [PHP] PHP - Interrupted Scripts,

2001-01-24 Thread Joe Stump
set_time_limit(0) sets the limit to 0 or inifinate. But it will end like any other script (ie end of script or exit;) --Joe On Wed, Jan 24, 2001 at 09:41:44PM +0100, Timo Mika Gl??er wrote: and what does set_time_limit(0) do??? set it to infinity??? i have some fucntion call in there which

Re: [PHP] PHP - Interrupted Scripts,

2001-01-24 Thread Joe Stump
try set_time_limit(0) for starters. Otherwise I'm clueless. --Joe On Wed, Jan 24, 2001 at 09:31:17PM +0100, Timo Mika Gl??er wrote: Hi, I had this problem over and over again: A script takes a long time to execute and is interrupted in the middle of its action by either a IE-Crash

Re: [PHP] strange PHP/MySQL problem

2001-01-27 Thread Joe Stump
Are you adding slashes beforehand (or running magic quotes) ? Also I always do a stripslashes() on the text fields I print out. --Joe On Sat, Jan 27, 2001 at 11:06:03PM -0500, [EMAIL PROTECTED] wrote: if you goto http://downloads.moddingcentral.com/add.php you will see a simple form

Re: [PHP] string length?

2001-01-30 Thread Joe Stump
if you just want to know how many numbers are in it you can do this: $num_of_numbers = sizeof(explode(';',$string)); --Joe On Tue, Jan 30, 2001 at 04:46:50PM -0800, Jon Jacob wrote: Kevin Connolly wrote: Hi, I am quite new to PHP scripts and I have run into a little problem with my

[PHP] feature that should be there and isn't

2001-01-30 Thread Joe Stump
ick ass little trick! --Joe -- --- Joe Stump, PHP Hacker, [EMAIL PROTECTED] -o) http://www.miester.org http://www.care2.com /\\ "It's not enough to su

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread Joe Stump
will all demand $150.00 an hour no matter what" then THAT would be illegal. Me mentioning to you how much I charge is totally legal. This mainly applies to big businesses and large manufacturers - OPEC for example would be TOTALLY illegal in the US. --Joe On Thu, Feb 01, 2001 at 08:49:00AM -

Re: [PHP] Calendar help

2001-02-02 Thread Joe Stump
Search for "php calendar" on freshmeat.net --Joe On Fri, Feb 02, 2001 at 04:28:37PM -0500, Fang Li wrote: Hello Has anyone coded a calendar using PHP? when click a date in the calendar,it will sotre the date in a database. Thanks. Fang -- PHP General Mailing

Re: [PHP] Change Password script

2001-02-02 Thread Joe Stump
DB password or unix password? --Joe On Fri, Feb 02, 2001 at 03:38:15PM -0600, enthalpy wrote: anyone have example code of a change password script in php? -CoreComm-Internet-Services--http://core.com/- (Jon Marshall CoreComm Services Chicago) ([EMAIL PROTECTED

Re: [PHP] getting STDIO

2001-02-02 Thread Joe Stump
#!/path/to/php -q ? $fp = fopen('/dev/stdin','r'); if($fp) { while(!feof($fp)) { $line = trim(fgets($fp,4096)); } } ? chmod +x script.php --Joe On Fri, Feb 02, 2001 at 04:36:48PM -0300, Martin A. Marques wrote: I want to use PHP to build a script

Re: [PHP] XML Parsing with PHP

2001-02-04 Thread Joe Stump
phpbuilder.com - there are a few articles on the site about XML --Joe On Sun, Feb 04, 2001 at 05:02:43PM +0100, Steve Haemelinck wrote: Where can I find some info on parsing XML with PHP? I am not looking for functions, but examples and explanations ! Thx -- PHP General Mailing List

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Joe Stump
I was just meaning plain SQL - can't microsoft say ANSI? All I ask for is a simple little standard and for people to follow it - I'm not asking for every feature of the standard - just a following. --Joe On Sun, Feb 04, 2001 at 10:43:37PM -0300, Manuel Lemos wrote: Hello Joe, On 04-Feb-01

[PHP] Q: php4,cache,performance,mod_perl,zend cache, APC

2001-03-06 Thread Joe Rice
, is there anywhere with stated benchmarks that i can see to compare? Thanks, joe -- 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: [EMAIL PROTECTED]

Re: [PHP] How to get oid after table insert? [postgresql]

2001-03-07 Thread Joe Conway
something like: So, how do I insert a new record into the database, and get the oid of the record I just inserted? See http://www.php.net/manual/en/function.pg-getlastoid.php Hope this helps, Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Bug or what?

2001-03-12 Thread Joe Stump
it without setting it. --Joe On Mon, Mar 12, 2001 at 01:08:37PM -0600, Fabio Ottolini (EDB) wrote: First File - index.php ?php header("Pragma: no-cache"); header("Cache-Control: no-cache, must-revalidate"); if(empty($check)) { $page = "index.php?check=1"; header(

[PHP] Two Way Encryption

2001-03-13 Thread Joe Njeru
Hi All, I'm looking for a two way encryption function that I can use to encrypt a cookie value. I have had experience with MD5 but its one way. Is there one I can use with a key in php? Thanks in advance, Joe Njeru, Nairobi Kenya. "Where the women are beautiful" -- PHP General Ma

AW: AW: [PHP] Cache Database-driven site

2001-03-13 Thread Joe Maier
Aaron, this is obviously exactly what i need!! Thanks a lot - this saved me days of work! Joe -Ursprungliche Nachricht- Von: Aaron Tuller [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 13. Marz 2001 05:41 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: AW: [PHP] Cache Database

Re: [PHP] I want this magic directory

2001-03-14 Thread Joe Stump
Read up on forcetype'ing on phpbuilder.com - it will do just what you want it to do. --Joe On Wed, Mar 14, 2001 at 06:08:18PM +0800, Alex wrote: I just want every customer on my site get his own unique id as his directory name but the pages requested are all processed by the root

[PHP] Q: NSAPI support

2001-03-20 Thread Joe Rice
Hi, I have a funny situation where i can't use apache due Macromedia's ARIA software and lack of it's support for apache. So, i'm stuck with using iPlanet. My question is how stable,fast,usable is the PHP4 NSAPI support? Thanks, joe rice Web Admin www.bigidea.com -- PHP General Mailing

[PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
is looking for $INFORMIXDIR/bin/esql which isn't installed by IConnect either. Thanks, joe rice Web Admin www.bigidea.com -- 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 administrato

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
be greatly appreciated. Thanks, joe Chris Fry([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 09:45:14AM +1100: For SCO I had to download the ESQL package separately - I think you have to do the same (if it's available). Chris Joe Rice wrote: Hi, I'm trying to get this combo to work "Inf

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
What ended up working for me is; LD_RUN_PATH=$INFORMIXDIR/lib then i recompiled php and when i started apache everything seemed to work. I didn't go the LD_LIBRARY_PATH way because of http://www.visi.com/~barr/ldpath.html titled "Why LD_LIBRARY_PATH is bad" Thanks for all the help

[PHP] Environment Variables

2001-03-22 Thread Joe Rice
how do you sent a Environment Variables for the php script to execute in? i need to set INFORMIXSERVER so i can use the informix php functions. This is going live tomorrow and we don't have it working yet...PLEASE HELP! thanks, joe rice Web Admin www.bigidea.com -- PHP General Mailing

Re: [PHP] Environment Variables

2001-03-22 Thread Joe Rice
i figured it out...thanks. putenv() Joe Rice([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 03:16:35PM -0600: how do you sent a Environment Variables for the php script to execute in? i need to set INFORMIXSERVER so i can use the informix php functions. This is going live tomorrow and we

Re: [PHP] ODBC Oracle

2001-03-22 Thread Joe Brown
There is a timeout, that should halt a script if it runs too long. If you can, check php.ini set max_execution_time to something greater than 30 seconds, see if that helps. ""Brooks, Ken"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I thought maybe the php

Re: [PHP] key generation with mcrypt

2001-03-23 Thread Joe Conway
substitute the built in MD5 function for SHA1. Hope this helps, Joe -- 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: [EMAIL PROTECTED]

Re: [PHP] random letters and numbers

2001-03-24 Thread Joe Stump
Sure - use md5() --Joe On Sat, Mar 24, 2001 at 12:05:49PM -0500, Randy Johnson wrote: Is there an easy way to create random numbers and letters for a file example http://www.mydomain.com/1w2e3rff.txt and then after they download it have it be deleted off the server? thanks

Re: [PHP] [PHP4]

2001-03-24 Thread Joe Brown
if($formSubmit) { echo "form submitted: $frmName"; //= have you tried this to make sure $formSubmit is true? $newsSubmit = file("news.txt"); //RTM, your not using file() the way it's inteneded. $fp = fopen("news.txt", 'a'); //looks good fwrite($fp, $frmName); //looks good, but does

[PHP] Compiling, How to resolve COM

2001-03-24 Thread Joe Brown
link.exe. Please enlighten me. Thanks, -Joe -- 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: [EMAIL PROTECTED]

Re: [PHP] [PHP4] $fp = fopen( news.txt, 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Joe Brown
Re-create the file. You're most of the way there. if( $formSubmit ) { echo "Your news has been processed."; $filename = "news.txt"; //This is simpler than messing with an array of the original content. $fp = fopen ($filename, "r"); $newsSubmit = fread ($fd, filesize ($filename)); fclose

Re: [PHP] [PHP4] $fp = fopen( news.txt, 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Joe Brown
Take a closer look at the previous message I sent $filename was defined as: $filename="news.txt"; ""Dddogbruce (@home.com)"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... When you say $newsSubmit = fread ($fd, filesize ($filename)); Do you mean specify the

Re: [PHP] [PHP4] $fp = fopen( news.txt, 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Joe Brown
maybe spinning the 'd' in $fd 180 degrees to make it a p will help... Sorry, haven't tried this myself, typo's happen. heh, I'm still trying to compile php 4 windows :-( been hoping for a helping hand. ""Dddogbruce (@home.com)"" [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] Another problem installing PHP under Solaris 8.0

2001-03-26 Thread Joe Rice
you need ar. my solaris 8 install has it in /usr/ccs/bin if you have it there, make sure /usr/ccs/bin is in your PATH. if you need to know what package ar is part of let me know. joe Emiliano Marmonti([EMAIL PROTECTED])@Mon, Mar 26, 2001 at 03:12:00PM -0300: Dear Friends: I have had

Re: [PHP] DF output

2001-03-27 Thread Joe Brown
nobody has execute permission on ps? Probably quite the opposite, your webserver user doesn't have execute permission on ps, so there is no execution or return value. "Steven Shepherd" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am writing a script,

Re: [PHP] DF output

2001-03-27 Thread Joe Brown
ut i dont want 'ps', I want 'top'). Ran top using su to the user 'www' from the command line and was able to run it fine. On Tue, 27 Mar 2001, Joe Brown wrote: Date: Tue, 27 Mar 2001 12:35:08 -0500 From: Joe Brown [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] "DF

[PHP] New PHP-GTK Site

2001-03-27 Thread Joe Stump
, if anyone wants to help out (admin, howtos, etc.) please feel free to contact me. As for me, I'm tired and plan on working on it more tomarrow :o) --Joe /*\ *Joe Stump * *www.Care2.com * *Office: 650.328.0198 * *Extension: 122

[PHP] Re: [PHP-GTK] New PHP-GTK Site

2001-03-27 Thread Joe Stump
So tired I forgot to put in the URL: http://gtk.php-coder.net --Joe On Tue, Mar 27, 2001 at 10:32:26PM -0500, Joe Stump wrote: I've noticed there isn't really a jumping off point for the PHP-GTK beginners and users. I spent the last few hours throwing a site together that has the basics

Re: [PHP] DF output

2001-03-27 Thread Joe Brown
en Shepherd [EMAIL PROTECTED] wrote: Bad example (changed to ps and it works actually..but i dont want 'ps', I want 'top'). Ran top using su to the user 'www' from the command line and was able to run it fine. On Tue, 27 Mar 2001, Joe Brown wrote: Date: Tue, 27 Mar 2001 12:35:08 -0500

[PHP] Q: php.ini

2001-03-28 Thread Joe Rice
Hi, I made a change to my php.ini and phpinfo() doesn't reflect the change? i set sendmail_path = "/usr/lib/sendmail -OIgnoreDots -t" and phpinfo() still shows the default sendmail_path = "/usr/lib/sendmail -t -i" how can i get this to work correctl

Re: [PHP] Q: php.ini

2001-03-28 Thread Joe Rice
sorry for the lame question, that was what i needed to do. Thanks, joe Jon Rosenberg([EMAIL PROTECTED])@Wed, Mar 28, 2001 at 11:38:19AM -0500: You need to restart your web server (apache, most likely). Jon - Original Message - From: "Joe Rice" [EMAIL PROTECTED]

Re: [PHP] file deletions ....

2001-03-28 Thread Joe Stump
Make sure that the PHP user (usually nobody) has the access to delete those files - I usually just do `rm -fr /path/to/file.foo`; and it works fine. --Joe On Wed, Mar 28, 2001 at 09:42:36AM +0100, Steve Brett wrote: hi, i need to delete files in my web folder so i can 'tidy' them up. i have

Re: [PHP] New PHP-GTK Site

2001-03-28 Thread Joe Stump
://gtk.php.net http://gtk.php-coder.net --Joe On Wed, Mar 28, 2001 at 11:19:24AM -0800, elias wrote: What is PHP-GTK? Can you just write me a short list of what it can do? "Joe Stump" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I've noticed

Re: [PHP] Cookie not getting set in IE 5 but no problem in Netscape

2001-03-28 Thread Joe Stump
Ah yes, the infamous IE cookie problem - look at the expire time - I be it destroys the cookie as soon as it gets it because the expire time is either on or before the time the cookie was sent. --Joe On Wed, Mar 28, 2001 at 07:16:52PM +0800, Floyd Piedad wrote: My program works really well

Re: [PHP] Curious

2001-03-28 Thread Joe Stump
.$url.'"'.$title.'/a'."\n"; or echo "This is Mike's Homepage"; --Joe On Wed, Mar 28, 2001 at 12:10:02PM +0200, Christian Reiniger wrote: On Wednesday 28 March 2001 08:18, you wrote: in general, I avoid using quotes where possible (such as in the following) font size=3 fa

Re: [PHP] Passing Special Characters in Query String

2001-03-28 Thread Joe Stump
try rawurlencode() Or just plain urlencode() - remember to use urldecode() on the other side if you plan on putting it in the DB. --Joe -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) /* you are not expected to understand this */ - from the UNIX V6 kernel source

[PHP] Variable scope problem

2001-03-28 Thread Joe Nelson
I have two functions like the ones below. If the first one creates a variable as global, shouldn't it be accesible to the second function? function setGlobal() { global $test; $test = "123"; } function getGlobal() { global $test; echo $test; } -- PHP

Re: [PHP] Catagory list

2001-03-31 Thread Joe Stump
; while($row = mysql_fetch_array($x)) { // echo articles here } } The permanent solution is to make a separate table called "categories" and then do a join on the categoryID from the two tables. --Joe On Fri, Mar 30, 2001 at 10:33:11PM +1000, Mark Bayfie

[PHP] something of interest on the GTK front

2001-03-31 Thread Joe Stump
a pretty comprehensive example of GtkText(), which seemed to be lacking. --Joe /**\ *Joe Stump - PHP/SQL/HTML Developer * * http://www.care2.com - http://www.miester.org - http

Re: [PHP] C and PHP

2001-04-01 Thread Joe Stump
You might want to look in the PHP source code at the README.EXT_SKEL file for info on how to incorporate that stuff. --Joe On Sat, Mar 31, 2001 at 08:49:30PM +0200, Ft Karras wrote: Somebody knows if it is possible to link C and PHP? I have a C library and need to 'include' with PHP code

[PHP] Search Engines

2001-04-01 Thread Joe Montiel
Hello, I am new to the list and to php...I would like to know how php does with the major search engines. Do I need to do something extra to make it work? Will it index if I am pulling my content from text files? (If this is in an archive somewhere, point me to it). Thank you! Joe -- PHP

[PHP] Re: Extract a string from a string

2002-01-02 Thread Joe Webster
. The nice part about that is that if you search for HI, if finds hi, it will highlight hi, not HI. Enjoy. -Joe Qartis [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I've got a search script, where you can search for a string and it will return links to

[PHP] Setting PHP vars in Apache Directives

2002-01-02 Thread Joe Webster
I do know of the php_value, php_flag, php_admin_value, php_admin_flag but these are only for INI settings. Thanks for any help before I attempt to modify mod_php ;) Joe Webster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

  1   2   3   4   5   6   7   >