[PHP] PHP preg_replace_callback with unicode

2012-03-30 Thread Jimmy Chen
I wrote a simple script below to simulate my problem. Both my string and pattern contain unicode characters. Basically, if I run it from command line (php -f test.php), it prints match as expected. But if I run it through web server (apache, http://localhost/test.php), it prints no match. I am

[PHP] PHP Error logging

2011-01-17 Thread Jimmy Stewpot
this problem has only started in the last few weeks. Has anyone else experienced similar problems in the past and if so what was the root cause? Regards, Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache and PHP segfaults on Redhat EL5

2011-01-06 Thread Jimmy Stewpot
to enlightenment I would be really appreciated. Regards, Jimmy. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SEE MY LATE JANGO JIMMY(Snr) BUSINESS CARD,I SEND MY PICTURES WHEN I HEAR FROM YOU.

2008-04-28 Thread Acct.yussuf Jimmy
Dear, I am yussuf Jimmy,from Togo Republique.I will be very glad if you do assist me to download the sum of ( USD$15.8Million)into your bank account. I got your contact through a Global Network and i decided to communicate with you in a good manner. I will compensat you for effort after

[PHP] FastCGI and --enable-force-cgi-redirect

2006-03-29 Thread Jimmy Scott
this (with or without that workaround) in a production area without knowing *WHAT* support on it is still being done, to be honest, it scares me this very moment. The system I'm testing on FreeBSD 6.0-RELEASE. Please CC me as I'm not subscribed to the list. Kind regards, Jimmy Scott -- People

[PHP] Problem with arrays

2005-06-24 Thread Jimmy jimmy hoo
Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array ( [0] = 5 [1] = Books

[PHP] E-Commerce II

2004-02-13 Thread Jimmy
Wow, thanks for the help guys. Appreciate it. Here's 2 other Q that popped into my head while researching... 1. I looked at Yahoo! and bCentral, they both charge monthly fees for using their E-Commerce Tools. Why? I thought it should be a one time thing? Or are they not providing code, just

[PHP] E-Commerce

2004-02-12 Thread Jimmy
Hi all. Is PHP a suitable language for building an online shop? Where would I go to find out more info on this? Thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Empty Reference to an Object

2004-01-13 Thread Jimmy Lantz
) =='stdClass') $param2 = NULL; // get_class might return stdclass not sure } ? / Jimmy -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http

[PHP] PHP logo question

2004-01-12 Thread Jimmy Lantz
the month or two months. Cheers Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs. jsp, advice please

2003-06-10 Thread Jimmy Brake
persistence is possible is it all it's cracked up to be? I've often dreamed of being able to have true persistence but if I had it maybe I wouldn't find it all that useful once I'd had a go with it. Thanks, Jean-Christian Imbeault -- Jimmy Brake [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] native vs. phplib sessions

2003-04-04 Thread Jimmy Brake
-04-04 at 12:26, Dennis Gearon wrote: How many people are using native vs. phplib sessions, vs. their own/homegrown sessions? The archives show a LOT of problems with native sessions. -- Jimmy Brake [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] cookies with internet explorer on macs

2003-03-31 Thread Jimmy Brake
and other browsers on linux are fine. This is what I use to set the cookie. $rand = md5(uniqid(rand())); setcookie(sessid, $rand, time()+43200, /); Any ideas? Thanks! Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cookies with internet explorer on macs

2003-03-31 Thread Jimmy Brake
thanks ... lots of my customers use entourage ... On Mon, 2003-03-31 at 20:53, Lowell Allen wrote: From: Jimmy Brake [EMAIL PROTECTED] The cookies i set for people using Internet Explorer on mac (OS X or mac os 8-9) are not staying alive as long as I would like(12hours) they only last

Re: [PHP] 2 databases

2003-03-19 Thread Jimmy Brake
yes -- i connect to oracle and mysql simultaneously .. On Wed, 2003-03-19 at 15:21, Iwan van Kanten wrote: Is it possible to connect to 2 different databases?? 2 different dtabase typs I mean postgresql and Mysql -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Weird slowdown using complex functions in a loop

2003-03-12 Thread Jimmy Brake
where are you storing the information that you are cleaning once it is cleaned? are you appending it to a variable in the script? On Wed, 2003-03-12 at 00:26, pgcd wrote: Hi, I'm trying to write a script to do some basic XML validation - nothing fancy, basically I just close open tags and

Re: [PHP] fopen and file dump to a databace...

2003-03-09 Thread Jimmy Brake
hi mark! i import data all the dang time and this is what i use (more or less) ? $file = file(sompath/somefile.csv); for($a=1;$acount($file);$a++) { $d = csv_parse($file[$a],,); $first_name = make_safe($d[0]); $last_name = make_safe($d[1]);

[PHP] syntax question

2003-03-06 Thread Jimmy
I'm looking through some existing code for a project I'm working on, but I keep running into this syntax that I really don't understand. Here's an example: $a=strpos($a,'-')?explode('-',$a,2):array($a); What do the ? and the : do here? I'm seeing this sort of thing all over and just have no

Re: [PHP] crontab

2003-03-04 Thread Jimmy Brake
:) ) but running a php script versus a bash or perl or whatever script/program is no more a concern than those ( always have security in mind ) On Tue, 2003-03-04 at 13:07, John Taylor-Johnston wrote: Cal, Liam, Jimmy, Thanks. If this is a serious security hazard, could you show me some code

[PHP] I have a problem with MsSQL

2003-02-17 Thread Jimmy Huaman
Hi. My problem is the characters in spanish: example: Construcción (Data of MsSQL Server) Result in web with PHP: Construcci¢n Thanks you. Prompyme a su servicio - Prompyme a su servicio. El Estado su mejor cliente, visite la página de

[PHP] vni - unicode

2003-02-17 Thread Jimmy Brake
Hi! I was wondering if anyone has vni - unicode conversion script. Thanks Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mac os 9 - file upload problems

2003-02-10 Thread Jimmy Brake
Hi, I have a file upload page that accepts file uploads from pretty much every browser and os EXCEPT any browser on mac os 9. I have no idea why, any of you ever have problems with file uploads on mac os 9? How did you solve the issue. -- Jimmy Brake [EMAIL PROTECTED] -- PHP General

RE: [PHP] Flow diagrams.-- Resending

2002-12-31 Thread Jimmy Brake
On Mon, 2002-12-30 at 06:59, Sridhar Moparthy wrote: Hi Jimmy, Thank You for the your reply. Here is the example. If 1. Jobs 'B' and 'C' starts immediately after Completion of job'A' 2. Job 'D' starts after completion of both Jobs 'B' and 'C'. 3. Job 'E' starts after completion of job 'C

[PHP] uploading + downloading Large files ...

2002-12-27 Thread Jimmy Brake
just make em use ftp or scp? The problem with using one of those protocols is that it makes it difficult for the users to link the files to the proper account/relation/incident and anything that is a problem for users is usually a problem for me. Thanks! Jimmy -- PHP General Mailing List (http

Re: [PHP] Flow diagrams.-- Resending

2002-12-27 Thread Jimmy Brake
can you give us some examples of the data ... the example I would like to see is: based on this information this is what should be displayed On Fri, 2002-12-27 at 11:48, Sridhar Moparthy wrote: Hi Every one, I have information about some processes in the database that tells different

Re: [PHP] monster form and compression?

2002-12-27 Thread Jimmy Brake
IE has some bugs when you have big forms when using [] test with mozilla or netscape if thats the case -- then errr well umm use what works On Fri, 2002-12-27 at 12:50, Jeff D. Hamann wrote: I have a monster form (really a funky grid - hey the client is always right) that does not display

Re: [PHP] Flow diagrams.

2002-12-26 Thread Jimmy Brake
to my knowledge there is nothing in php that does that good luck On Thu, 2002-12-26 at 11:17, Sridhar Moparthy wrote: Hi Every one, Do you know how to prepare and display process flow diagrams dynamically based on some data from database. I have information about some processes in the

[PHP] a good imap library?

2002-12-11 Thread Jimmy Brake
squirrel mail but I am not to happy with what I am seeing -- looks very mature but I would prefer something that is OO. Thanks in advance, Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] update query based on array

2002-12-09 Thread Jimmy Brake
, please let me know :) THanks __ Jason Dulberg Extreme MTB http://extreme.nas.net -- Jimmy Brake [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Looking for good ZIP Code / Latitude / Longitude table

2002-10-30 Thread Jimmy Brake
how much does the service cost? or am misunderstanding the class? why do you have to enter a password? On Wed, 2002-10-30 at 11:31, Manuel Lemos wrote: Hello, On 10/30/2002 04:03 PM, Michael Zornek wrote: I've written a nice php/mysql site that let's you search for hospitals and

Re: [PHP] Cleaning pasted Word text

2002-10-29 Thread Jimmy Brake
for file maker pro (windows/mac) -- word (windows/mac) function make_safe($text) { $text = preg_replace(/(\cM)/, , $text); $text = preg_replace(/(\c])/, , $text); $text = str_replace(\r\n, , $text); $text = str_replace(\x0B, , $text); $text =

[PHP] What causes this?

2002-10-28 Thread Jimmy Brake
' '--enable-wddx' '--with-mysql' '--with-jpeg-dir=../jpeg-6b/' '--with-t1lib=../t1lib-1.3.1' '--enable-wddx' '--with-apache=../apache_1.3.27' '--with-mysql=/usr/local/mysql/' The site ran fine till the upgrade any ideas how I can get rid of this or should I just rollback the update? Jimmy

[PHP] Reading header information

2002-08-29 Thread jimmy
: Apache/1.3.26 (Darwin) PHP/4.2.2 Connection: close Content-Type: text/html Really what I'm trying to find is the server message (404, 200, etc.) on a remote server from this line... HTTP/1.1 200 OK Is there anyway to access this through php? thanks, jimmy -- PHP General Mailing List (http

[PHP] missing function? array_change_key_case()

2002-07-17 Thread Jimmy Brake
running 4.x any ideas? Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] missing function? array_change_key_case()

2002-07-17 Thread Jimmy Brake
yep thats it ... On Wed, 2002-07-17 at 18:02, John Holmes wrote: Works fine for me on 4.2.1 You have to have at least 4.2.0, do you? ---John Holmes... -Original Message- From: Jimmy Brake [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 8:53 PM To: [EMAIL

[PHP] ^k ? -- how do I match that?

2002-07-15 Thread Jimmy Brake
that into a form its ok, but when I export that data to a csv it gets ugly. http://www.robelle.com/smugbook/ascii.html Thanks in advance! Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A problem in mysql_fetch_array

2002-07-08 Thread Jimmy Lam
I have insert some text with space to mysql DB with varchar() When I use mysql_fetch_array function to retrieve the data from DB . I found only the first session text can be shown . It means if any space there . It will split like session by session. for example. my DB have a text Hello World

[PHP] I would like to ask about Photo Upload in mysql and reteive problem .

2002-07-05 Thread Jimmy Lam
to let me reference. ?? I am doing my project. I need this information in urgent. Please friendly give me advice here . thanks Jimmy

[PHP] STDIN/STDOUT in PHP

2002-06-09 Thread Jimmy Lantz
I've been looking for a way to work with stdin/stdout for a mod_rewrite's rewritemap. There's a working example in Perl, (just returning the input) #!/usr/bin/perl $| = 1; while (STDIN) { print $_; } I've been trying to achieve this with fopen() read and write the php://stdin

[PHP] (Unlink(file) == rm file) ? (ignore this mail):(explain diffs);

2002-05-28 Thread Jimmy Lantz
Hi, (Unlink(file) == rm file) ? (ignore this mail):(explain diffs); Does PHP unlink function handle deletion of files equally as the rm command on the system in my case FreeBSD. Or does it involve caching/handling files in any different way? / Jim -- PHP General Mailing List

[PHP] Mcrypt: Blowfish or Twofish or no fish? Part 2

2002-05-22 Thread Jimmy Lantz
Thanx for the suggestions! Someone mentioned that I could use MD5 and then encrypt the hash, how would I ever decrypt that? Is'nt MD5 a 1-way thing only? Another question? Should I go for bigger keylength or bigger blocksize or both? What makes for the best encryption? / Jim (and before

RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread Jimmy Lantz
I believe that twofish has been successfully broken, so use blowfish instead. Typically, for encrypting files you will use an algorithm like blowfish in cbc mode (as opposed to ebc mode) but I don't know if Mcrypt supports this. Also, when creating the hash of the file, it is probably best to

[PHP] Mcrypt: Blowfish or Twofish or no fish?

2002-05-21 Thread Jimmy Lantz
Hi, started playing with Mcrypt and just wanted to ask which encryption method makes the stronger encryption? (I can supply the necesary keylength). Should I go for MCRYPT_BLOWFISH or MCRYPT_TWOFISH? Or no fish at all :) So what do I need it for? I'm going to use it encrypting files, sizes

[PHP] Sane path? Avoiding people climbing in directory structure ../../

2002-05-20 Thread Jimmy Lantz
Hi, I'm planning on using userinput as a part of path to read (horrific I know :) So to make this userinput a bit more secure I'm thinking to use $path = escapeshellarg($path); $path = str_replace(../,,$path); I'm thinking to use a basedir in a constant something like /usr/home/userdir (this

[PHP] [PHP 4.2.0] HTTP PUT method $_FILES ?

2002-05-10 Thread Jimmy Lantz
like /usr/home/foo/bar/public_html/mytest/filename.htm $HTTP_PUT_FILE['size'] The size, in bytes, of the uploaded file. $HTTP_PUT_FILE['tmp_name'] Temp name something like /tmp/hfdhjfufd8733 My only bad is that I cant program in C otherwise I would have been there doing it already. / Jimmy

[PHP] Re: [[PHP] php problem]

2002-05-10 Thread Jimmy Lantz
johnny1b1g [EMAIL PROTECTED] wrote: ? Well I guess I could try to help you if you elaborate your question a bit further. / Jimmy Start with RTFM :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http

[PHP] ODBC MSSQL...

2002-04-29 Thread Jimmy
Anyone have any experience resetting the result cursor when using ODBC to access MSSQL (2000)? TIA -josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [PHP 4.2.0] Benchmarking file uploads?

2002-04-24 Thread Jimmy Lantz
Hi, I'm looking into the new version of PHP it says in the changelog Highly improved performance with file uploads Has there been any benchmarking done on this? / Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php printer functions...

2002-04-18 Thread Jimmy
I'm running PHP 4.1.1 on a Win2K box. If I understand the manual correctly, the printer functions have been integrated into PHP as of v4.0.4. However, when I try to call any of the printer functions, nothing works. Any ideas or suggestions? TIA -josh -- PHP General Mailing List

[PHP] Resume/recover uploads in PHP 4.2 ? WAS: RE: upload forms, how much was uploaded before upload fails..

2002-03-25 Thread Jimmy Lantz
Hi following up on the text below... Will there then be possible to recover uploads in 4.2? Maybe even resuming uploads? (wishfull thinking) ? Cheers Jimmy Rasmus Lerdorf wrote: Re: [PHP] upload forms, how much was uploaded before upload fails.. You'll probably need PHP 4.2 for uploads that big

[PHP] mimeexplode counterpart in php?

2002-03-25 Thread Jimmy Lantz
functions but dont see how it would be possible to do the same thing. Cheers Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Appropriate headers for Forcing download on IE/Mac and open with stuffit?

2002-03-18 Thread Jimmy Lantz
=\$filename\\n); header(Content-transfer-encoding: binary\n); header(Content-length: . $filesize . \n); But it doesnt result in the desired behaviour though. Any Ideas? Cheers Jimmy And yes I've RTFM more than twice! Btw, I use PHP 4.12 as an Apache module on FreeBSD. -- PHP General Mailing List

[PHP] readfile or fopen? (Passing file to user...)

2002-03-12 Thread Jimmy Lantz
? $data = readfile($completeFilePath); $i=0; while ($data[$i] != ){ echo $data[$i]; $i++; } exit; TIA / Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strange behaviour of mysql_pconnect()

2002-01-22 Thread Jimmy
doing some test (by looking at the mysql processlist) i can conclude that those two link_identifier are actually the same (only one link, but with two different id) the question is, why pconnect() print different resource id, whereas connect() print the same one? -- Jimmy

Re: [PHP] strange behaviour of mysql_pconnect()

2002-01-22 Thread Jimmy
username), regardless of using connect() or pconnect(). but then someone make a small testing, by doing 2 same pconnect() and printing the returned link_identifier, which surprisingly return 2 different id. -- Jimmy There is no greater waste as a waste of time -- PHP

Re: [PHP] Error notification and pretty error page

2002-01-21 Thread Jimmy
which is being parsed/executed. you always have to pass this __FILE__ and __LINE__ because PHP dont have the ability to backtrack from which file/line a function is called :( and dont forget to add @ sign in front of the PHP's function, to surpress the error msg generated by PHP. -- Jimmy

Re: [PHP] Best way to get the remote IP address?

2002-01-21 Thread Jimmy
is off. otherwise, it's wiser to use getenv('REMOTE_ADDR') instead of $REMOTE_ADDR directly. -- Jimmy Failure doesn't mean you'll never make it. It just means it may take longer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Lazy evaluation?

2002-01-16 Thread Jimmy
Hi Alexander, Does PHP support lazy evaluation? Meaning that if: Yes, it does. -- Jimmy Got a dictionary? I want to know the meaning of life. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] StripSlashes() quotes in text boxes

2002-01-16 Thread Jimmy
browser, for example email or printing. -- Jimmy All work and no pay makes a housewife. -- 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

Re: [PHP] Time calculation after UNIX

2002-01-16 Thread Jimmy
date range from '1000-01-01' to '-12-31'. and for calculation, you can use MySQL function: ADDDATE() or SUBDATE() -- Jimmy Bigamy is having one spouse too many. Monogamy is the same. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Lazy evaluation?

2002-01-16 Thread Jimmy
')) blahblahblah(); and, $a != 'a'. why should php even look at the value for $b while evaluating this line? i believe PHP implement lazy evaluation, so it won't evaluate $b=='b' -- Jimmy Success only comes before work in the dictionary. -- PHP General Mailing List (http

Re: [PHP] mysql_insert_id?

2002-01-16 Thread Jimmy
this, you should call last_insert_id() only when your INSERT query executed succesfully. -- Jimmy Right thinking leads to right living -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] WDDX...

2002-01-16 Thread Jimmy
that you can use WDDX to help you update your website easily. would you mind sharing with us how? Thanks -- Jimmy The past is present in the future -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Help !! Mail Function Problem (Newbie)

2002-01-16 Thread Jimmy
of recipients, and it is showing 0. So maybe you should pass the email address in proper string (enclose it inside quote), like this: mail([EMAIL PROTECTED], Subject, Line 1\nLine 2\nLine 3); -- Jimmy The past is present in the future -- PHP General Mailing List (http

Re: [PHP] mysql_insert_id?

2002-01-16 Thread Jimmy
by the newest one. the immediately after phares in the manual doesn't mean that PHP's mysql_insert_id() function is somehow tied to the previous/last INSERT query, so that if the INSERT fails then mysql_insert_id() will intelegently return the correct value. just my 1 cent -- Jimmy

Re: [PHP] mysql_insert_id?

2002-01-16 Thread Jimmy
him to exec last_insert_id() or mysql_insert_id() ONLY when the insert query is SUCCESSFUL. -- Jimmy When you lose, don't lose the lesson. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] mysql_insert_id?

2002-01-16 Thread Jimmy
, what you said could be true also. Well, there's only one way to be sure how mysql_insert_id() works...read the source code of PHP :) but unfortunately I dont have the source code, and even if I do, I won't read it, because I am lousy at reading someone's code...:) nice discussion, Neil :) -- Jimmy

Re: [PHP] Content

2002-01-15 Thread Jimmy
, you have to parse the HTTP request. parse_str($QUERY_STRING); // after this you will have the $NotificationProtocolVersion variable -- Jimmy A woman is like your shadow; follow her, she flies; fly from her, she follows. -- PHP General Mailing List (http

Re: [PHP] Content

2002-01-15 Thread Jimmy
the variable will be in the body/content part, so it is correct. -- Jimmy To Jazz or not to jazz. That's the question. -William Saxpeare- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Including a REMOTE FILE using include (php function)

2002-01-15 Thread Jimmy
Hi louie, Im trying this little example of mine, Im trying to include a file from a remote webserver but could not possibly get it to work.. could be because the url fopen wrapper is disabled. check the value of this setting in your php.ini file: allow_url_fopen -- Jimmy

Re: [PHP] help using ereg_replace()

2002-01-14 Thread Jimmy
insist on using regex: preg_replace(/(\d{3})(\d{3})(\d{4})/, (\\1) \\2-\\3, $arr); -- Jimmy Everything loses its value when overly used, including love. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] unable to copy and chmod

2002-01-14 Thread Jimmy
can't change the file owner too. only root can chown You need root access to fix your problem...or re-upload your file using ftp, not php. -- Jimmy A diplomat is man who always remembers a woman's birthday but never her age. -- PHP General Mailing List (http

Re: [PHP] Piping data into a select box

2002-01-12 Thread Jimmy
' selected$value/option;} else {$var.=option value='$key'$value/option;} } return $var; } ? -- Jimmy Leave loved ones with loving words, it may be the last time you see them -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] preg_replace help

2002-01-11 Thread Jimmy
/a, $myLink); -- Jimmy People are like clouds, all unique. -- 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

Re: [PHP] weird fopen problem

2002-01-10 Thread Jimmy
the allowed direcory tree. check your open_basedir setting in php.ini config file. -- Jimmy Politics SUCKS !! -- 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] Test if picture exists then load.

2002-01-10 Thread Jimmy
} -- Jimmy Bigamy is having one spouse too many. Monogamy is the same. -- 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

Re: [PHP] Object Copying

2002-01-10 Thread Jimmy
Hi Ken, As we all know, this copies an object in PHP: $obj2 = $obj1 Preferable a way to fix PHP not to copy the object, but the reference. this will do want you want: $obj2 = $obj1; -- Jimmy Always keep a cool head and a warm heart -- PHP General Mailing

Re: [PHP] ereg

2002-01-10 Thread Jimmy
Hi Kunal, ereg(!--start--(.*)!--stop--, $lineofhtml, $output); ereg(!--start--([^!--stop--]*)!--stop--, $lineofhtml, $output); -- Jimmy It's not what you have in your life that counts, but who you have in your life -- PHP General Mailing List (http

Re: [PHP] inserting a file into MSSQL

2002-01-09 Thread Jimmy
with no option other than store the file in DB. -- Jimmy Brigands will demand your money or your life, but a woman will demand both. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Interesting Problem

2002-01-09 Thread Jimmy
, but the results in from your table definition i didn't see any relation between those two tables, so most probably it doesnt make sense to make a join operation. just do it in 2 query, one for each table. -- Jimmy When you have a hammer, you tend to treat everything

Re: [PHP] Supplied argument is not a valid MySQL result resource

2002-01-08 Thread Jimmy
Hi Dan, $parent_sql = SELECT * FROM categories ORDER BY sort_order ASC; $parent_result = mysql_query($parent_sql); change the line to this one and run it again to see the error: $parent_result = mysql_query($parent_sql) or die(mysql_error()); -- Jimmy Brain off

Re: [PHP] strip from html to closing body tag

2002-01-07 Thread Jimmy
Hi WB, Hi i need to strip out the html up to the body tag. preg_replace( /html(.*)body(.*) , , $body ); try this: preg_replace( /html[^body]*body[^]*/ , , $body ); -- Jimmy Your mind is like parachute. It works best when it is open. -- PHP General

Re: [PHP] HOWTO USE : htmlspecialchars

2002-01-07 Thread Jimmy
on how to use this function. -- Jimmy Leave loved ones with loving words, it may be the last time you see them -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] take links from url

2002-01-07 Thread Jimmy
Hi Alawi, I want to take string between table/table tags in put it in variable preg_match (|table([^/table]*)/table|i, $str, $match); $match[1] will contain the string between table/table -- Jimmy Fate shuffles the cards and we play with them -- PHP General

Re: [PHP] Running php in background?

2002-01-07 Thread Jimmy
Hi James, Ideally, I would like to run the job in the background anyway. Can that be done? read this: http://www.php.net/manual/en/function.exec.php and search for 'background' keyword. -- Jimmy Brigands will demand your money or your life, but a woman

Re: [PHP] How to read/write form/into certain place in a text file

2002-01-06 Thread Jimmy
if another one will open and write the same file? php doesnt handle file locking automatically, so i think it would depend on the OS. if you want to handle file locking, read about flock(). -- Jimmy God is greater than your greatest problem -- PHP General Mailing List

[PHP] no reply-to header?

2002-01-06 Thread Jimmy
Hi All, I just realize there's no reply-to header in this mailing list. No wonder I never receive my own email when I reply to any mail here. Does it purposely set this way? Or is this a glitch? -- Jimmy Mistakes show us what we need to learn. -- PHP General

Re: [PHP] no reply-to header?

2002-01-06 Thread Jimmy
Hi Martin, I thought that if there's no reply-to, then email clients will use the from as the reply to ?? yes, correct, but the from is the address of the original sender, so when someone hit reply, the email will goes to the original sender only, not to this mailing list. -- Jimmy

Re: [PHP] Mysql Curdate problem

2002-01-02 Thread Jimmy
Hi Andras, $aresult=mysql_query(select * from orders WHERE (a3 = CURDATE()-$datec) ,$db); what's the value of $datec? integer 7 or 14? if so then try to change it to this: interval 7 days -- Jimmy Love deeply and passionately. You might get hurt but it's the only

Re: [PHP] Supplied argument is not a valid PostgreSQL result resource

2001-12-26 Thread Jimmy
Hi James, I've been getting the following error: Warning: Supplied argument is not a valid PostgreSQL result resource in dbasefunctions.php on line 87 that's because your SQL query return nothing, but you try to fetch a row. -- Jimmy Live for Love, for without

Re: [PHP] MySQL to Excel with mutiple sheets

2001-11-29 Thread jimmy elab
Matthew Loff wrote: http://www.wotsit.org/search.asp?page=49s=ALLFILES http://homepage.tinet.ie/~jmcnamara/perl/WriteExcel.html This guy really has loads of remarkable links, or have you?! Got any more? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] MySQL to Excel with mutiple sheets

2001-11-29 Thread jimmy elab
David Robley wrote: s/require it be done/want to do it Count me in. Starting somewhere in December. An RTF module will be first, though! I'll post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] MySQL to Excel with mutiple sheets

2001-11-29 Thread jimmy elab
Jason Murray wrote: I stand by my original statement. After someone requires PHP to output a multi-sheet Excel file, the code to do it will then be out there. :) Ah, this is a nice cryptic answer! I need it -more or less- ;-) Why? This is why: http://nijb.nl/planning.php (It will open a

[PHP] Re: PHP4 sessions and Netscape 4.75/Mac

2001-11-19 Thread jimmy elab
Dennis Moore wrote: Any ideas or clues? Turn on cookies -- 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] Re: alzheimers and confused

2001-11-17 Thread jimmy elab
de Morgan and Boole, not Alzheimer nor Confusius !(A OR B) = (!A) AND (!B) -- 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] Parse POST-Data myself

2001-11-16 Thread jimmy elab
Andrew Forgue wrote: By putting brackets after the variable name [] in a form element input type=text name=text[] input type=text name=text[] input type=text name=text[] BLAAACH!!! Please add an index variable, as fields that you don't need wil NOT be posted, so when you have several

Re: [PHP] Parse POST-Data myself

2001-11-16 Thread jimmy elab
Jimmy Elab wrote: input type=text name=text[?php echo $il ?] When your not positioned straigth at your keyboard a ';' may occasionally turn into an 'l'... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] for loop problem?

2001-11-13 Thread jimmy elab
Tyler Longren wrote: Here's something interesting though. There's an id field that's set to AUTO_INCREMENT. Yep, and that's one thing I've been looking at. See, I find it strange that you need an KEY idpass (id, passcode(245)) when the ID is quaranteed to be unique in itself. Funny...

[PHP] Re: Frames and Sessions

2001-11-13 Thread jimmy elab
Michael Hall wrote: can't figure out how I'm going to maintain a session across the three seperate HTML files in the frameset. You don't! PHP and your browser will do it for you. It doesn't matter whether you're in frames or not. All that matters is the cookie that is automagically generated

Re: [PHP] Looking for security annoucements

2001-11-09 Thread Jimmy
I'm running phpBB not phpNuke and I'm subcribed to Buftraq, hope the otehrs are more helpful for me... Jimmy -- 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

  1   2   >