Re: [PHP] Website with a Instant Messenger

2004-09-27 Thread Jim Grill
] | // +--- + // // $Id:$ 0.0.1 /* login here or maybe IM or ICQ or a photo album*/ ? I couldn't resist. Sorry... good luck Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] poor image quality in php

2004-09-27 Thread Jim Grill
.php.net/manual/en/function.imagecreatetruecolor.php JIm Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Images in PHP and MySQL

2004-09-27 Thread Jim Grill
wanted to pipe in on this one thing: 3) images usually need to be written to file before using GD for manipulation, inclusion in PDFs, etc. There is actually a function for this: imagecreatefromstring() I'll don't want to touch the rest of this topic though. :-) Jim Grill -- PHP General Mailing

[PHP] bitwize '' operator trouble

2004-10-04 Thread Jim Grill
is on a the network boundary of a given CIDR and I'll appreciate any examples of that. However, I am more interested in why and'ing these two numbers returns a different value now. I'm unable to find any clues in the docs. Thanks, Jim Grill

Re: [PHP] Millisecond in PHP

2004-10-27 Thread Jim Grill
Hi, I'm trying to get PHP to display the millisecond of current time. I can't find that option in Date().. Any hints? Thanks a lot Take a look at http://us2.php.net/manual/en/function.microtime.php Jim Grill ZCE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] db transactions across multiple pages...

2004-07-30 Thread Jim Grill
be my guess that pconnect will be a thing of the past. It's sort of a drag, but running out of connections - as pconnect can cause - is a real drag too. ;) Jim Grill Web-1 Hosting http://www.web-1hosting.net - Original Message - From: bruce [EMAIL PROTECTED] To: 'John Nichel' [EMAIL

Re: [PHP] Accepting Credit Cards

2004-07-30 Thread Jim Grill
At the risk of sounding dull, I have used Authorize.net for many years and have no complaints. I'm not sure about price, but set up is pretty easy with their documentation and they're very reliable. Jim Grill Web-1 Hosting http://www.web-1hosting.net - Original Message - From: Jonathan

Re: [PHP] regex help

2004-08-01 Thread Jim Grill
Can you post a little sample of the data and your current code? thanks. Jim Grill Web-1 Hosting http://www.web-1hosting.net - Original Message - From: Kathleen Ballard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 01, 2004 8:27 AM Subject: [PHP] regex help I am

Re: [PHP] javascript type cast OT

2004-08-03 Thread Jim Grill
Was just wondering... Can you compile php with javascript support on a Game Boy? lol Is it ok to just filter out this subject to deleted items now??? Jim Grill - Original Message - From: Curt Zirzow [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 5:58 PM Subject

Re: [PHP] Order by

2004-08-03 Thread Jim Grill
input: $specs_query = mysql_query('SELECT title, information FROM spec WHERE product=\'' . $id . '\' ORDER BY id ASC'); - OR - $specs_query = mysql_query(SELECT title, information FROM spec WHERE product='$id' ORDER BY id ASC); Have fun! Regards, Jim Grill Web-1 Hosting http://www.web

Re: [PHP] mysql_connect and PHP 5.0

2004-08-04 Thread Jim Grill
Can you paste us your configure line for php? It sounds like you forgot to include mysql or perhaps you configured with mysqli instead. The two are very different. Regards, Jim Grill Web-1 Hosting http://www.web-1hosting.net - Original Message - From: Michael Marold [EMAIL PROTECTED

Re: [PHP] Looking for a TODO: parser.

2004-08-25 Thread Jim Grill
Not sure about other file types, but phpdoc includes a tag for todo. It also makes nice documentation on the fly based on your comments. http://phpdoc.org/docs/HTMLSmartyConverter/default/phpDocumentor/tutorial_tags.todo.pkg.html Jim Grill - Original Message - From: Daevid Vincent

Re: [PHP] Get Value

2004-08-25 Thread Jim Grill
? (B$link = 'a href="www.google.com"Google(value to extract)/a'; (Becho preg_replace('/\a\shref=\".*\"\(.*)\\/a\/i', "$1", $link); (B? (B (BJim Grill (B (B- Original Message - (BFrom: "Syed Ghouse" [EMAIL PROTECTED] (BTo: "php mailinglists" [EMAIL PROTECTED] (BSent: Wednesday,

Re: [PHP] ini_set('include_path') and require_once()

2004-08-26 Thread Jim Grill
(get_include_path() . ':/full/path/to/your/includes'); echo get_include_path(); ? I would use the full system path rather than a relative path. Using echo get_include_path() should give you an idea what's going on. http://www.php.net/manual/en/function.set-include-path.php Jim Grill - Original

Re: [PHP] Looking for a TODO: parser.

2004-08-26 Thread Jim Grill
I'm pretty damn sure he was kidding about the parse error. Jim Grill - Original Message - From: Rick Fletcher [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: John Holmes [EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:53 PM Subject: Re: [PHP] Looking for a TODO: parser

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Jim Grill
have to know Java, C#, ASP, or some other gay .NET crap to accomplish something. It's like a university degree - it shows initiative. Go OSS! I'm going to do it. I'm all over it. ...like stink on yann! If you wanna show if you can programme well, sun would do the job. WTF? I can prograe! Jim

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Jim Grill
s John Holmes wrote: i d Curt Zirzow wrote: e Top posting is like this. p o How about middle posting? s t Please don't top post. i n g ? -- J By-Tor.com i It's all about the Rush m http://www.by-tor.com G -- r PHP General Mailing List (http://www.php.net/) i To unsubscribe, visit:

Re: [PHP] Hire a developer

2004-08-29 Thread Jim Grill
hear what I say? Jim Grill - Original Message - From: John Holmes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, August 29, 2004 4:21 PM Subject: Re: [PHP] Hire a developer joshua wrote: If you wish to have more information on this project, please

Re: [PHP] Hire a developer

2004-08-29 Thread Jim Grill
Jim Grill wrote: Incase anyone was wanting to hire John, I've cracked the code. Phear me, I great H4x0r. I'd like to suggest this as the official PHP mailing list email format for Mondays, Tuesdays, Rainy days, and all through May... if I may...you hear what I say? lol.. you guys

Re: [PHP] [Newbie Guide] For the benefit of new members

2004-08-30 Thread Jim Grill
Sounds like someone else's problem -- not the list's problem. If that's the case, use a different email address for mailing lists. There are plenty of free email providers out there if you can't get a spare account. Jim Grill The problem with that request is that some employers require you

Re: [PHP] Storing image in database

2004-08-30 Thread Jim Grill
border=0 / The $id, $width, and $height would have come from your db. Save the actual fetching of the image itself for image.php. Good luck and have fun! Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing

Re: [PHP] Authors and Instructors Needed

2004-08-31 Thread Jim Grill
I can hold my pee for hours Jim Grill - Original Message - From: Keystone Learning Systems [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 30, 2004 4:43 PM Subject: [PHP] Authors and Instructors Needed KeyStone Learning Systems (www.keystonelearning.com) is currently

Re: [PHP] Please, Refresh Your Paypal Account

2004-08-31 Thread Jim Grill
Exp.Date(mm/): 01/1978 ATM PIN (For Bank Verification) #: 1234 Jim Grill - Original Message - From: Paypal Services [EMAIL PROTECTED] To: Php-general [EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 6:45 PM Subject: [PHP] Please, Refresh Your Paypal Account Sign Up | Log In | Help

Re: [PHP] Function Problem

2004-09-01 Thread Jim Grill
the header redirect call exit(); example: header('Location: somewhere.php'); exit(); Jim Grill Web-1 Hosting, LP http://www.web-1hosting.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net

Re: [PHP] Need direction on PHP-CLI MUD Server

2004-09-02 Thread Jim Grill
in the right direction. Sounds like a fun project. Jim Grill Web-1 Hosting, LP http://www.web-1hosting.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Jim Grill
Ahem... No, Jason was right (in his usual, abrupt, rude kinda way). Guys, while we may be able to debate what is rude, what is blunt, what should have been said, what was said, the facts are clear. He apologized, and I think its time to lest this debate rest for now. While I would

Re: [PHP] uppercase sentences

2004-09-03 Thread Jim Grill
with a capital letter (english) would be a great start. Has any one come across a library of punctuation cleaners or something like that? This might help you some. $ucSentance = ucfirst($sentance); Jim Grill --- Justin French http://indent.com.au -- PHP General Mailing List (http

Re: [PHP] Need direction on PHP-CLI MUD Server

2004-09-03 Thread Jim Grill
how it goes. If you want to send me some source code off-list I'd be happy to give it a whirl. It might be better to solve off-list and post the solution on-list since the code is probably huge. Jim Grill on 9/2/04 10:31 AM, Jim Grill at [EMAIL PROTECTED] wrote: Hello, I have been banging my

Re: [PHP] Need direction on PHP-CLI MUD Server

2004-09-03 Thread Jim Grill
Unfortunately, since they are coming in through a socket and not actual telnet/ssh I don't think $fp=fopen(/dev/stdin, r); works? Isn't that only for terminal based input? Donald Myers oops... forgot this: http://www.php.net/manual/en/ref.pcntl.php Jim Grill on 9/2/04 10:31 AM, Jim

Re: [PHP] Web Fetch Process

2004-09-03 Thread Jim Grill
just use strip_tags() http://us4.php.net/manual/en/function.strip-tags.php Your last question: To delete everything but numbers you could $content = preg_replace('/[^\d]/','', $content); Hope that helps Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Correct headers for I.E. to open PDF?

2004-09-03 Thread Jim Grill
['HTTP_USER_AGENT'],'MSIE')) header('Content-Type: application/force-download'); else header('Content-Type: application/octet-stream'); header('Content-Length: '.$filesize); header('Content-Disposition: inline; filename=FILE.pdf'); header(Cache-Control: private); header(Pragma: public); Jim Grill

Re: [PHP] Web Fetch Process

2004-09-03 Thread Jim Grill
because there is a perl module (name HTMLParse) available from CPAN that behaves somewhat like the sax parse api in PHP. Perl ???!! a not perl! :-( I'm tagging this one OT! :-) Jim Grill -- Raditha Dissanayake

Re: [PHP] How develop reports in MS WORD?

2004-09-04 Thread Jim Grill
format that is not designed to be compatible or portable. Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Completing dream of connect with Java RDBMS with php

2004-09-04 Thread Jim Grill
Is this some kind of spam? hehe. I've never seen anyone so eager to share their work. ...Must be a trojan or something! :-) Jim Grill hi dear developers, We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java

Re: [PHP] How develop reports in MS WORD?

2004-09-04 Thread Jim Grill
is a proprietary winbloze format that is not designed to be compatible or portable. Jim Grill What I meant to say is that I don't really know and was trying to make a funny. Good luck. Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Dinamic generate PDF : which way ? (classes, docbook)

2004-09-06 Thread Jim Grill
burdensome for this task since it requires your markup be written in DocBook XML format. I suppose it could be worth while if you plan to create your documents in several different formats on the fly. Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Force the download of .pdf or image files

2004-09-06 Thread Jim Grill
to make that in PHP? I have the idea do ZIP the files automaticly when my PHP script upload it to the server, but canĀ“t figure out how to make that. Thanks, Rics Very common problem... very easy solution. http://www.google.com/search?hl=enlr=ie=UTF-8q=php+header+force+download Jim Grill

Re: [PHP] Re: array_merge changed behaviour in Php5??

2004-09-07 Thread Jim Grill
as can many others, however, this is an anticipated (and documented) issue. Now, if I could just figure out how to plug this new fire wire storage device into my 386 I'd be a happy camper. :-) Best to you, Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Intermittent Seg Fault with PHP4.3.8 + FTP

2004-09-07 Thread Jim Grill
a) example from log file (just the error line(s)) b) what is segfaulting? (Apache, PHP, Kernel, other) c) Any error messages? 3) Any other pertinent information Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Intermittent Seg Fault with PHP4.3.8 + FTP

2004-09-07 Thread Jim Grill
it to the real pros to read the backtrace output! :-) Good luck, Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem compiling PHP5

2004-09-07 Thread Jim Grill
=/usr/local/lib/xpm-3.4k-linux/lib/ The first one appears to be incorrect. This would be a problem. Just an observation. Good luck, Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem compiling PHP5

2004-09-07 Thread Jim Grill
users and groups... like a source tarball. Was libxpm actually installed or just untared there? Jim Grill Curt -- The above comments may offend you. flame at will. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General

Re: [PHP] Re: Problem compiling PHP5

2004-09-07 Thread Jim Grill
Taking the /lib/ portion of the configure command changes the error to configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please check config.log for more information. Which (assuming it means that it needs libXpm.so AND libX11.so) means I might have a lead to follow.

Re: [PHP] Re: Problem compiling PHP5

2004-09-07 Thread Jim Grill
is that libxpm will not run out of the box. There is a build process that must be followed to build the library for your system architecture. Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Problem compiling PHP5 [solved]

2004-09-08 Thread Jim Grill
, Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] class packages

2004-09-08 Thread Jim Grill
at all uncommon to have multiple classes in a single file - especially if they are typically used together like parent and extended classes or interfaces and implementations. This method will also save disk io by only having to include one file. Jim Grill -- PHP General Mailing List (http

Re: [PHP] Intermittent Seg Fault with PHP4.3.8 + FTP

2004-09-08 Thread Jim Grill
bug myself) Best of luck to you, Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Jim Grill
get one result from MySQL and then loop through your result and display your content. Hope I'm not too far off. Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's faster? MySQL Queries or PHP Loops? OT

2004-09-08 Thread Jim Grill
support foreign key constraints, this has nothing to do with joined queries that is to select data from multiple tables or even multiple databases in one query. For a really cool tutorial see: http://www.devshed.com/c/a/MySQL/Understanding-SQL-Joins/ Have fun, Jim Grill -- PHP General Mailing

Re: [PHP] Users of RDBMS

2004-09-08 Thread Jim Grill
is m_pahlevanzadeh at yahoo dot com My website is: http://webnegar.net Dear, Please go here: http://lists.mysql.com/ Jim Grill -- PHP General Mailing List (http://www.php.net

Re: [PHP] htmlentities()

2004-09-08 Thread Jim Grill
to htmlentities(). Thank you for any help. TR Are you looking at the html source?? I get A 'quote' is bbold/b when I load the page *BUT* viewing the source gives me this: A 'quote' is lt;bgt;boldlt;/bgt; ;-) Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] htmlentities()

2004-09-08 Thread Jim Grill
to htmlentities(). Thank you for any help. TR Sorry to spam you, but If you are wanting to remove html altogether take a look at strip_tags() http://us4.php.net/manual/en/function.strip-tags.php Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] stdin buffering

2004-09-09 Thread Jim Grill
Ctrl c (to clear any invisible commands) and type (blindly) stty echo to turn it back on. To see the current terminal options do stty or stty -a to see everything. man stty is just as much fun. :-) Good luck, Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP include before or after Apache SSI?

2004-09-13 Thread Jim Grill
Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Jim Grill
Anyone else getting these infuriating italian messages about some muppet that doesnt exist? 'desintione non existente'? I've written to [EMAIL PROTECTED] but no joy, everytime i post on the php list i get half a dozen of the damn things... -- Nick W I've been getting those stupid

Re: [PHP] Re: gmail accounts

2004-09-20 Thread Jim Grill
echo statement, right? ;) You mean that bloated overkill they call Smarty? No way. eval() is good enough for me :) Smarty is very cool but can be a bit much. [shameless plug] Check out XiTemplate http://xitemplate.sourceforge.net/ [/shameless plug] :-) Jim Grill -- PHP General Mailing

Re: [PHP] csv inssue

2004-09-24 Thread Jim Grill
ENCLOSED BY LINES TERMINATED BY \\r\\n'; Very versatile. Make that lazy MySQL server pull its weight! Let PHP handle the really complicated stuff :-) Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] csv inssue

2004-09-24 Thread Jim Grill
did forget the quotes on the values. This will fix that: $query .= '('.implode(',',$vals).'),'; There is a line that gets rid of the the trailing comma: /*kill the last comma*/ $query = substr($query, 0, -1); Take another look and then post some code if you still have trouble. Jim Grill -- PHP

Re: [PHP] mailing to hotmail

2004-09-24 Thread Jim Grill
. :-) Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php upload script problems

2004-09-25 Thread Jim Grill
to where files are uploaded Aside from what others have pointed out, your absolute path is not a file path at all. This will cause some problems later on in the script when you try to upload an image file to a URL instead of a file path. Jim Grill -- PHP General Mailing List (http://www.php.net