[PHP] email with html and images

2002-09-06 Thread josh
Hey all I have seen many tutorials on sending HTML email, and sending email with attachments, but have found nothing on sending HTML email with the images for the html attached. Anyone familiar with doing this? Thanks, Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] How to download an entire dynamic website?

2001-08-20 Thread Josh
Does anyone know some good programs (or other ways) to download an entire dynamic website? Thanks -- 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 P

[PHP] pcntl_fork and classes

2004-06-28 Thread josh
ork in the constructor? Would calling the class methods after it forked work the same way? -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Miami PHP groups?

2004-12-16 Thread Josh
Any computer groups or resources for learning PHP in the Miami area? I am new here ... trying to learn PHP... would like to meet other people doing the same. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 5 to PHP4 - Apache2Triad

2004-12-13 Thread Josh
I installed PHP5 with MySQL and Apace 2, along with a lot of other stuff as part of Apache2Triad. But I want to replace PHP5 with PHP4 because some of the things I am testing on my computer require PHP4. Can anyone tell me how to do this or where I can find information on how to do it? I thought

Re: [PHP] Web Development Overnight!!!

2004-12-13 Thread Josh
$70 for a domain name registration? A domain name only costs $6 or $7 US dollars per year... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Uncompressing files on server

2004-12-19 Thread Josh
I have some PHP files from a content management system. I uploaded the compressed files to the server, but how do I un-compress them now? I am using Filezilla. Can it be done, or do I have to uncompress the file on my computer and then upload? thanks -- PHP General Mailing List (http://www.ph

[PHP] Search Engine Friendly URLs

2005-01-15 Thread Josh
I am converting a site to use includes instead of a Dreamweaver template. I want the URLs to look like this: www.my-site1234.com/contact instead of www.my-site1234.com/default.php?p=contact. I found some tutorials on editing the .htaccess file but where do I find it on the server? -- PHP Genera

[PHP] Uploading a file

2005-09-06 Thread Josh
oes anyone know of a work around for this? Cheers. Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using Pear Auth

2003-01-29 Thread Josh McCormack
No, I put a new version of Pear in the directory I was developing in. I found this: http://news.php.net/article.php?group=php.pear.general&article=3505 Seems there are lots of problems with Auth, despite Pear's 1.0 version. Josh John W. Holmes wrote: $a = new Auth("DB", $

Re: [PHP] Changing Bytes to KB, to megs, to gigs.

2003-07-26 Thread Josh Sneaker
Thanks, that seems to work very well (o; / Josh - Original Message - From: "Curt Zirzow" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Sunday, July 27, 2003 10:17 AM Subject: Re: [PHP] Changing Bytes to KB, to megs, to gigs. > * Thus

[PHP] Upload scripts timing out

2003-07-31 Thread Josh Abernathy
My current upload script times out too quickly when users are uploading large files. How can I stop this from happening? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Cache Question

2003-08-17 Thread Josh Whiting
ntil then. its very weird. i am doing this just by using a fread() to a file handle and echoing the result. any explanations, or enlightened thoughts on 1) why this happens, and 2) how it could impact the differece between a direct .mp3 embed and a .php embed? josh whiting Ivo Fokkema wr

[PHP] Mail Username

2003-06-10 Thread Josh Thomas
in the PHP.conf file to change this. Will I be better off using pop and smtp and just point it to my local box? Thanks Josh Thomas www.kickbackpoints.com

[PHP] secure sockets

2002-07-23 Thread Josh Levine
0 Warning: fclose(): supplied argument is not a valid File-Handle resource in /usr/home/research/htdocs/tests/secure.php on line 20 Thanks in advance for any help, Josh Levine -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] secure sockets

2002-07-23 Thread Josh Levine
Thanks for the pointer! I had looked at it, but didn't see too much information on using CURL with a telnet type application. I'll take a closer look at it. --Josh Levine Patrick Lynch wrote: > > Hi Josh, > > I have not done this myself but afaik, you can use c

Re: [PHP] secure sockets

2002-07-23 Thread Josh Levine
The docs for fsockopen() say I should use ssl:// (the docs for fopen() say to use https:// for a secure HTTP 1.0, which I don't want). I can go ahead and try it, though... --Josh Levine Peter wrote: > > josh just a query did u try it with https:// rather than ssl:// ? > >

[PHP] Re: secure sockets

2002-07-23 Thread Josh Levine
ve to use cURL for now, or develop in 4.3.0 and deploy when it's > ready, or... > > It will be pretty cool when the SSL stuff can be done as transparently as > http:// can right now! Can't believe I missed the version thing - thanks! I guess I'll try using cURL for

Re: [PHP] secure sockets

2002-07-23 Thread Josh Levine
will support such a call (I just didn't notice the version number). > Curl would be your other option, and that should work just fine for most > uses. I don't know how you have the app set up but that may be what you > need. That's what I'll try next. --Josh L

[PHP] Re: secure sockets

2002-07-25 Thread Josh Levine
to use fsockopen(); with ssl:// I receive this message: Warning: fsockopen(): no SSL support in this build in /usr/home/research/htdocs/tests/secure2.php4 on line 6 I did include OpenSSL support...is there something else I need to include? --Josh Levine -- PHP General Mailing List (http://w

[PHP] Re: secure sockets

2002-07-25 Thread Josh Levine
Josh Levine wrote: > Warning: fsockopen(): no SSL support in this build in > /usr/home/research/htdocs/tests/secure2.php4 on line 6 > > I did include OpenSSL support...is there something else I need to > include? Nevermind, I just re-built it from scratch again and it worked

[PHP] snapshot windows build

2002-07-26 Thread Josh Levine
nce, Josh Levine -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sometimes I get session write failure

2002-10-11 Thread Josh Bauguss
e the message. So I only sometimes get the error. I added the session write close command in an include file that gets appended to every page. Why in the world would I only sometimes get this error? Thanks, Josh Bauguss [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] session randomly loses objects

2002-11-13 Thread Josh Bauguss
alled php4.3pre2 to see if it fixed the issue. alas, it did not. I was previously using 4.2.3. HELP!. Thanks, Josh Bauguss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP sockets/daemon problem

2002-06-26 Thread Josh Levine
I'm trying to write a simple PHP script that communicates with a daemon running on the same server. Basically, the daemon just accepts an integer and returns an integer: [josh@jlevine-research josh]$ telnet 127.0.0.1 60324 Trying 127.0.0.1... Connected to localhost. Escape character is &#

Re: [PHP] PHP sockets/daemon problem

2002-06-26 Thread Josh Levine
Thanks! Those were a huge help...turns out the problem was with the daemon and not my code. --Josh Levine B I G D O G wrote: > > Some great articles for sockets...might help out... > > http://www.phpbeginner.com/columns/demitrious/sockets > http://www.phpbeginner.com/col

[PHP] Beginner looking for survey script

2003-10-29 Thread josh hough
or know how to create it easily? Thank you kindly. -josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] looking for a PHP editor

2001-01-09 Thread Josh G
I went to their homepage, and couldn't find a link to download the actual program, just some example stuff, and it says "coming soon"... Is it out there somewhere and I'm just retarded, or are you mob on a beta list or something??? Gfunk My name was Brian McGee, I stayed up listeni

Re: [PHP] Re-engineering print()

2001-01-10 Thread Josh G
> $s = sprintf("%s", implode("\n", file('template.php'))); Why this??? It's redundant, isn't it? Wouldn't $s= implode("\n", file('template.php')); do it? Gfunk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Exponents

2001-01-10 Thread Josh G
exp(num,pow) i do believe. of course this is off the top of my head Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "Ian LeBlanc" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: [PHP] Re-engineering print()

2001-01-10 Thread Josh G
$s = system ("/usr/local/whatever/php/bin/php /path/to/your/file.php"); This should be what you're after. In PHP4 there _may_ be some way to use the inbuilt buffering for that purpouse, but I doubt it. Perhaps this could be added to the language? It would be a good counterpart to eval()... Gfun

Re: [PHP] Re-engineering print()

2001-01-10 Thread Josh G
If the system() doesn't return something, try using the backticks (left of the 1 key) like so: $s = `/path/to/php /path/to/yourfile.php`; Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message

Re: [PHP] Re-engineering print()

2001-01-10 Thread Josh G
Cool, didn't think you could do that. Well never mind me then ;-) Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "Matt McClanahan" <[EMAIL PROTECTED]> To: "Kristofer Widholm

Re: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread Josh G
I have a working javascript system for this, email me anybody if you want it. Note - It's a hulluva lot harder than you think to write Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message

Re: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread Josh G
I've got one you guys can have, email me anybody who wants it. Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "DanO" <[EMAIL PROTECTED]> To: "Php-General@Lists. Php. Net" <[E

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Josh G
- Original Message - From: "Jade Ohlhauser" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Friday, January 12, 2001 1:40 PM Subject: Re: [PHP] mixing HTML and PHP code > IMHO even better is: > input_text('hello', 20, $value); > > that's how that would appear on our site. We

Re: [PHP] APC Alternative PHP Cache Release Announcement

2001-01-11 Thread Josh G
How's it handle scripts that call eval()? Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "George Schlossnagle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Janua

Re: [PHP] SMs

2001-01-14 Thread Josh G
yeah you can do that, don't know about other phones, but for nokia you need the cable, a phone with the appropriate plugs (ie a 5xx0 / 6xx0 / 7xx0 / 9xx0 model phone, not a 8xx0 or 3xx0 model), and the nokia data suite or free alternative if they exist for your operating system. Gfunk My

Re: [PHP] logging page views, which method is better????

2001-01-14 Thread Josh G
Another technique is use a quick-and dirty save of one line to a text file, and have a cron script or somehting similar simply run every day or every few hours that reads from your home-made log into a db table, and then empties the file. Gfunk My name was Brian McGee, I stayed up

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Josh G
Unlink works on some installations, not others. I think it works on NT but not 95 or perhaps the other way around. Why is this? Unlink is hardly an unsupported system call in windows! Anybody know? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxica

Re: [PHP] password() ::: and it's return...

2001-01-15 Thread Josh G
I'm not sure I understand the question. What exactly do you mean? Are you talking about returning it from the client already encrypted? Not sure if anybody does that, as JS doesn't have a whole lot of useful encryption stuff in it, and iirc the md5() algorith is rather lengthy. Gfunk -

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Josh G
rs to... suffering. - Original Message - From: "Alexander Wagner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 1:01 PM Subject: Re: [PHP] HELP WITH UPLOAD REQUIRED > Josh G wrote: > > Unlink works on some installations, not others

Re: [PHP] password() ::: and it's return...

2001-01-15 Thread Josh G
s to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: "'Josh G'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 1:17 PM Sub

Re: [PHP] password() ::: and it's return...

2001-01-15 Thread Josh G
ail me my > passwd in case Ive forgoten it. ICQ.com even does this. > > Chris Lee > Mediawaveonline.com > > > ""Josh G"" <[EMAIL PROTECTED]> wrote in message > 00e401c07f60$f325c2a0$0e01a8c0@swinger">news:00e401c07f60$f325c2a0$0e01a8c0@swinger... &

Re: [PHP] password() ::: and it's return...

2001-01-15 Thread Josh G
PROTECTED] > Subject: Re: [PHP] password() ::: and it's return... > > > sites do though. many sites allow me to click some link and they email me my > passwd in case Ive forgoten it. ICQ.com even does this. > > Chris Lee > Mediawaveonline.com > > > ""J

Re: [PHP] How do I do to update part of a string?

2001-01-15 Thread Josh G
You can always use the simple str_replace or my old fave, $newstring=implode($withthis,explode($this,$oldstring)); replaces all instances of $this with $withthis in $oldstring Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication t

Re: [PHP] < Levels of Access >

2001-01-17 Thread Josh G
Sounds good, I for one would like to see it. Can it revoke permissions? Can I have access to all of /admin but no access to /admin/delete ?? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suf

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Josh G
Strewth! that's 4g/second at full strength! I'd say that's a fair bit more than all the links out of my whole bloody country! Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering.

Re: [PHP] Quotes and Values

2001-01-18 Thread Josh G
True, but iirc it's not xml compliant, and might not be a good habit, and it then leaves you without the option to use it in JS calls, like: echo "" Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers t

Re: [PHP] Where is information about Forms?

2001-01-18 Thread Josh G
they're automagically converted to global variables. becomes $foo on the page you're submitting to. Nice, wot? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Mes

Re: [PHP] date problem: some months have 5 weeks... how I discover which ones?

2001-01-18 Thread Josh G
can't think of exactly the math, but get the weekdayday of the 1st, divide how many days in the month/7, and it should be easy enuff. use a combination of date() and mktime() to get the first day of the month methinks. Gfunk - http://www.gfunk007.com/ I sense much beer in you.

Re: [PHP] Announcement: Smarty - the PHP compiling template engine

2001-01-18 Thread Josh G
Nice... has a lot of cool ideas in it, a few of which I'm also working on for the templating part of a content management system I'm working on in my spare time (like compilation, except i'm going to do it at save-time, not 1st run-time, since i control the publishing functions). Gfunk -

Re: [PHP] [php] - alphabetizing

2001-01-21 Thread Josh G
Just build an assosciative array like so $arr["person1"] = "string1"; $arr["person2"] = "string2"; $arr["person3"] = "string3"; $arr = asort($arr); this should do what you're looking for. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to

Re: [PHP] What "PHP" Stands For....

2001-01-22 Thread Josh G
Yeah, it used to be called PHP/FI for Personal Home Page / Form Interpreter I do believe. Not sure about the "Interpreter" but I think that was it. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to

Re: [PHP] Turning off PHP for one directory with apache

2001-01-22 Thread Josh G
Instead of: > Action application/x-httpd-php-source "/php4/php.exe -s" > AddType application/x-httpd-php-source .php4 .php .inc .htm why not: > Action application/x-httpd-php-source "/php4/php.exe /path/to/showsource.php " > AddType application/x-httpd-php-source .php4 .php .inc .htm and using

Re: [PHP] Aspell Function

2001-01-23 Thread Josh G
And the answer was? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Matt Stone" <[EMAIL PROTECTED]> To: "Matt Stone" <[EMAIL PROTECTED]>; "PHP L

Re: [PHP] 1. php ISP host wanted, 2. Release of EasySQL

2001-01-23 Thread Josh G
best kind of networks, those RAID networks. Much better than STRIPE printers Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Richard Creech

RE: [PHP] trouble getting .php3 files to work in php4.0.4pl1 (static)

2001-02-23 Thread Hoover, Josh
Try doing this in your httpd.conf (replacing what you have now): AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php-source .phps Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your

RE: [PHP] trouble getting .php3 files to work in php4.0.4pl1 (static)

2001-02-23 Thread Hoover, Josh
Do you mean that index.php3 does not work when you access that page as the index for the directory (http://youripaddress/) or that when you specifically call index.php3 (http://youripaddress/index.php3), it wants to download the script in your browser? Thanks, Josh Hoover KnowledgeStorm, Inc

RE: [PHP] PHP / Filemaker?

2001-02-23 Thread Hoover, Josh
, so they can help you out with any problems/questions you may run into. Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify the process for you

Re: [PHP] including html

2001-03-01 Thread Josh Reynolds
On Thu, 1 Mar 2001, Marcos wrote: > hi, > > i would like to put all the content from a html file into a php. > (like working with SSI) > index.php > include ('info.html) > > is this right? > > regards, > > marcos > [EMAIL PROTECTED] > -- PHP General Mailing List (http://

RE: [PHP] Odd PHP/MySQL Question

2001-03-01 Thread Hoover, Josh
You could try something like this: SELECT year, count(studentID) FROM students GROUP BY year ...where studentID is the primary key column/field in your students table. Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing

RE: [PHP] Hiding php Code

2001-03-01 Thread Hoover, Josh
need your Administrator to install it for you, so I'm not sure if this does you any good or not. Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify the

RE: [PHP] help parsing data files

2001-03-02 Thread Hoover, Josh
Try putting this in your config in place of what you currently have: AddType application/x-httpd-php phtml AddType application/x-httpd-php php AddType application/x-httpd-php php3 AddType application/x-httpd-php data Then restart Apache and see if that does it for you. Josh Hoover

[PHP] Problems with IIS4 (Win2k)

2001-03-03 Thread Josh McDonald
nd if I use the php4isapi.dll I get "The specified module could not be found. " Can somebody tell me what I'm doing wrong? Cheers, -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

Re: [PHP] Problems with IIS4 (Win2k)

2001-03-03 Thread Josh McDonald
singer" <[EMAIL PROTECTED]> To: "Josh McDonald" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 03, 2001 6:04 PM Subject: Re: [PHP] Problems with IIS4 (Win2k) > At 21:56 04.03.2001, Josh McDonald said: > [snip]---

RE: [PHP] Auto Prepend/Append

2001-03-06 Thread Hoover, Josh
Chris, Try putting php_value auto_prepend_file "foo.php" in your httpd.conf file. Once you put this in the conf file for Apache, restart Apache and see if the changes take place. That should do what you want it to. Josh Hoover KnowledgeStorm, Inc. Searching for a new I

RE: [PHP] passing variables

2001-03-06 Thread Hoover, Josh
Do you mean you want them to be able to say how long a text field should be? If so, try this: for ($i=0; $i < $fields; $i++) { $fieldName = "field$i"; echo "\n"; } $size would be a form parameter that you allow the user to set along with the field name

RE: [PHP] Text and formating

2001-03-07 Thread Hoover, Josh
You need to do a str_replace() on any fields that need to have breaks in them. Try something like this: echo str_replace ("\n", "", $fieldvariable) Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing?

RE: [PHP] How to convert '2001032018' -> '2001 03 20 18' ? (Fomating Date)

2001-03-20 Thread Hoover, Josh
; } Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify the process for you. KnowledgeStorm - Your IT Search Starts Here > I'

RE: [PHP] Script invocation similar to ASP <%= %>

2001-05-04 Thread Hoover, Josh
I believe you want something like this: ... For the short cut syntax on echo checkout: http://www.php.net/manual/en/function.echo.php This assumes that you have shortags on in your php.ini file. Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT

RE: [PHP] Unix file vs. Mac file formats

2001-05-09 Thread Hoover, Josh
here is a Mac utility that may help out Jon and others with batch converting Mac text files to Unix ones: http://hotfiles.zdnet.com/cgi-bin/texis/swlib/hotfiles/info.html?fcode=MC170 56&b=mac Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT solution for your company

RE: [PHP] PHP4 and MySQL on Macintosh

2001-05-14 Thread Hoover, Josh
which is full of Mac developers using technologies like PHP, MySQL, Mac OS X, etc. The URL is http://www.developersplace.com/ Hope that helps out. Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT solution for your company? Need to improve your product marketing?

RE: [PHP] A universal Database Class

2001-05-17 Thread Hoover, Josh
install to see the code Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify the process for you. KnowledgeStorm - Your IT Search Starts

[PHP] log analysis

2002-05-10 Thread Josh Edwards
Hi there, I'm working on using php to analyse an access log on an apache server. If a user inputs a file path I want to be able to use PHP to determine if it's a log file. Is there a function that will reject if it's not a binary file. If it's a binary file how would I then compare it to whats

Re: [PHP] log analysis

2002-05-10 Thread Josh Edwards
g are seperated by spaces. J "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, 10 May 2002, Josh Edwards wrote: > > I'm working on using php to analyse an access log on an apache server. > > > >

[PHP] Where's the error?

2002-05-13 Thread Josh Edwards
This is meant to grab a date out of a log file from the first line of the array but I'm getting a parse error on line 13. Any ideas? function getdate($hit) { $single = explode (" ",$hit); return $single[3].$single[4]; } $filename = ("combined_log"); fopen ($filename, "r"); $fcontents = file

Re: [PHP] Where's the error?

2002-05-13 Thread Josh Edwards
Thanks heaps for your help I really appreciate it. I have made the changes you suggested but now I only get a blank screen. function getmydate($hit) { $single = explode (" ",$hit); return $single[3].$single[4]; } $filename = ("combined_log"); //fopen ($filename, "r"); $fcontents = file($file

Re: [PHP] Where's the error?

2002-05-13 Thread Josh Edwards
1:24 +1000] "GET /A1.html HTTP/1.1" 304 - "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)" Regards Josh "Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message 1021345553.886.133.camel@ali">news:1021345553.886.133.camel@ali... > On

Re: [PHP] Where's the error?

2002-05-13 Thread Josh Edwards
Fixed !!! It should be $line = $fcontents[$i]; not $line = $fcontents[i]; Would you know the syntax to get the the last date? ie $lastdate = getmydate($line[(count($line))]); echo "$lastdate"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

[PHP] Newbie challenge to brainiacs

2002-05-14 Thread Josh Edwards
I'm a PHP beginner and I am amazed at the help people give you in this newsgroup. I'm trying to attempt something ambitious (for me anyway) and I'm looking for help. Here is a sample of my weblog that reads into an array from a file ie $filename = ("combined_log"); $fcontents = file($file

Re: [PHP] Newbie challenge to brainiacs

2002-05-15 Thread Josh Edwards
The challenge is to do it without SQL. Which blog do you recommend? "David Jackson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Jay Blanchard wrote: > > > The burning issue that begs to be answered is, why reinvent the wheel? > There is a least a dozen blo

[PHP] Newbie - Spot the error

2002-05-15 Thread Josh Edwards
if I have $time = 21 then $timespread =array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); if ($time = = "21") $timespread[22]=($timespread[22]+1); echo $timespread[22] ; I get 0 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie - Spot the error

2002-05-15 Thread Josh Edwards
If I // $time=="21" the count goes up by 1 so it's not recognizing the 21. Any ideas "Olav bringedal" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > --- Josh Edwards <[EMAIL PROTECTED]> wrote: > if I >

[PHP] help with arrays

2002-05-16 Thread Josh Edwards
This is a basic question but I'm a basic fellow. If I have an array $timespread = array("12am-01am"=>0); $timespread["01am-02am"]=0; $timespread["02am-03am"]=0; etc Using $time which is a number, I want to add 1 to the value of $timespread[$time] without changing the key so if $time =1 I want t

[PHP] array question

2002-05-17 Thread Josh Edwards
I have an array which I use a loop to add numbers to different elements in the array. I can extract the highest no which in this case is 48. ie ([22 ] => 48 [23 ] => 2 [12 ] => 22 [14 ] => 5 ) Using this highest no (48 in this instance), how do I get the position or [element No] that matches the

[PHP] Array problems again

2002-05-17 Thread Josh Edwards
Here's a sample of a weblog. I have a loop that extracts the request ie "Get /A1.php How do I get the top ten requests and how many time these were requested after looping thru the whole file. Can you set up an array that is self populating if a string doesn't match an element in the array or is

[PHP] mktime()

2002-05-17 Thread Josh Edwards
After reading the manual Istill can't convert this 09/May/2002 to a timestamp. Any Pointers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date functions

2002-05-18 Thread Josh Edwards
Does anyone know a good way to count the days between two dates. ie how many Mondays fall between two dates. As a starting point I have calculated the start and end dates and the no of days b/w them. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

[PHP] Help with file read

2002-05-19 Thread Josh Edwards
Can someone look and help I have a function that returns the date in this format [10/Apr/2002:01:17:27 +1000] but I'm having trouble returning the last date in the file. $totalhits = count($fcontents); $filename = ("combined_log"); //open file $fcontents = file($filename); //read into arra

[PHP] Converting Image Data Directly from MySQL

2002-03-05 Thread Josh Trutwin
is adds a LOT of file system I/O though as it has to write each full sized image stored in the db /tmp and slows things down quite a bit. Does anyone have any other suggestions? My goal is to store only one version of each image file and create smaller versions on the fly. PHP is 4.1.2 on a SuS

Re: [PHP] Webmail

2002-03-05 Thread Josh Trutwin
t;, "Message Subject", $message, "From: $email"); This assumes that name, address, and email are form variables that the user inputs. See http://www.php.net/manual/en/function.mail.php for more information about mail(); Josh Trutwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [REPOST] Converting Image Data Directly from MySQL

2002-03-06 Thread Josh Trutwin
n the db /tmp and slows things down quite a bit. Does anyone have any other suggestions? My goal is to store only one version of each image file and create smaller versions on the fly. PHP is 4.1.2 on a SuSE Linux 7.3 box, latest Apache server, MySQL 3.23.44. http://trutwins.homeip.net/phpinfo

[PHP] unsubscribe josh@gfunk007.com

2001-10-30 Thread Josh McDonald
unsubscribe [EMAIL PROTECTED] -- 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] XML

2001-04-04 Thread Josh McDonald
valid and well-formed are different, can php verify neither? G is for the gang of money I make. F is for the gang of fools I break. U is for the undisputed champ. N is 'cause you never gonna get the mic back. K is for the niggaz that I knock on they back. http://www.gfunk007.com/ - Origina

Re: [PHP] *** HTML Programming question *** no php at all...

2001-04-11 Thread Josh McDonald
In ie5.x and earlier the select element will also be above all layers. I think ie6 doesn't have that problem, as I remember MS promising to fix it, tho i haven't got my hands on whistler yet so I don't know fer sure G is for the gang of money I make. F is for the gang of fools I break. U is for t

RE: [PHP] Are calling COM applications a trojan?

2001-04-11 Thread Hoover, Josh
d mainly be for PHP to access COM objects that a business has currently in other applications. Many times it would be nice for PHP to utilize objects already written, and in the Windows world right now those objects are normally accessible via COM if they're accessible at all. Josh Hoover Kno

RE: [PHP] Getting extensions to load in Win32

2001-07-09 Thread Hoover, Josh
is to add this path (PHP_DIRECTOR\dlls\) to the System path. You may have to restart to get this new entry to be recognized. Once you do that, run php.exe on the command line again and see if it still gives you errors. Hope that helps, Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching

RE: [PHP] sql query successful

2001-07-18 Thread Hoover, Josh
echo "SQL not executed successfully."; else print "SQL executed successfully."; Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledgest

RE: [PHP] FTP

2001-07-26 Thread Hoover, Josh
You could try this for the sake of simplicity: $fp = fopen ("ftp://user:[EMAIL PROTECTED]/";, "w"); http://www.php.net/manual/en/function.fopen.php Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT solution for your company? Need to improve yo

  1   2   3   >