Re: [PHP] Those checkboxes again

2005-06-16 Thread Jack Jackson
{ $checked_per = ; } } hope that helps you out Joe On 6/16/05, Jack Jackson [EMAIL PROTECTED] wrote: hi, I'm severely frustrated and perhaps you can help with what I have done wrong. The checkboxes I use to populate an intersection table work to add the records, and now I am trying to update

[PHP] Image upload form

2005-06-15 Thread Jack Jackson
Hi, After a disastrous first attempt (which uploaded images but only by chance) it was suggested I rework the entire thing. This one seems to check the file against getimagesize and if that doesn't prove false, check the type and make the extension then rename the file. But the moving part is

Re: [PHP] Image upload form

2005-06-15 Thread Jack Jackson
Okay, I started seeing some of my mistakes. I am still having a great deal of trouble: newfile returns: 0fdae2e9e6aa43f067a9dd780a5a36a6.jpg image_file returns: images/jpg/test/0fdae2e9e6aa43f067a9dd780a5a36a6.jpg images/jpg/test is set to 777 but I still get (Could not move file to

Re: [PHP] Image upload form

2005-06-15 Thread Jack Jackson
Richard Davey wrote: Hello Jack, Wednesday, June 15, 2005, 5:38:11 PM, you wrote: JJ newfile returns: 0fdae2e9e6aa43f067a9dd780a5a36a6.jpg JJ image_file returns: JJ images/jpg/test/0fdae2e9e6aa43f067a9dd780a5a36a6.jpg JJ images/jpg/test is set to 777 but I still get (Could not move file

Re: [PHP] Image upload form

2005-06-15 Thread Jack Jackson
Yes, Jason, Those did it! Thanks so much for the help! Jason Wong wrote: On Thursday 16 June 2005 00:38, Jack Jackson wrote: //try to get image size; this returns false if this is not an actual image file. $image_test = getimagesize($local_file); if ($image_test !== false

Re: [PHP] Checkboxes From Intersection Redux

2005-06-15 Thread Jack Jackson
the output of art_id: $checkbox_media[] = input type='checkbox' name='media_types[]' value='{$media_rows['media_id']}' .(rows['art_id']==$cartoon['art_id']? checked:)./{$media_rows['media_name']} ; HTH kgt Jack Jackson wrote: Hi, With your help I got some checkboxes generated

[PHP] Checkboxes From Intersection Redux

2005-06-14 Thread Jack Jackson
: media_id art_id 31 41 51 What I want to do is say For every media_id which is associated with $cartoon in the table media_art, check the box; for all others leave them unchecked. How can I do this? Thanks very much in advance, Jack -- PHP

Re: [PHP] Optimizing Help

2005-06-14 Thread Jack Jackson
Jochem Maas wrote: jack jackson wrote: Hello, Recently with the help of several of you I got a script working. It's complex, I'm still new, some parts of it came from other authors and I adapted it, and generally despite the fact that it seems to work perfectly at this point, I am certain

[PHP] Optimizing Help

2005-06-13 Thread jack jackson
Hello, Recently with the help of several of you I got a script working. It's complex, I'm still new, some parts of it came from other authors and I adapted it, and generally despite the fact that it seems to work perfectly at this point, I am certain that there is bloat, repetition and simply

Re: [PHP] Optimizing Help

2005-06-13 Thread jack jackson
Thanks, Chris, I see what you're getting at. I'm not sure I understand what you mean about looping through the array in the area you specified- isn't that just the definitions of the vars? Or is that what you meant and I'm missing the point!!? On 6/13/05, Chris Ramsay [EMAIL PROTECTED] wrote:

Re: [PHP] fwrite/fopen

2005-06-11 Thread Mister Jack
all the files in that table, and only takes them out of the table if they are successfully deleted. Course, you then want to be sure you have UNIQUE filenames so you don't delete a good file later. On Fri, June 10, 2005 4:03 pm, Mister Jack said: Hi, I having a problem at the moment

[PHP] fwrite/fopen

2005-06-10 Thread Mister Jack
Hi, I having a problem at the moment, I open a file, try to write in it, and then remove the file if the write goes wrong (if write count != of my initial buffer length). But I still get some empty file (and then a blank page). Could possibly fopen (with a 'wb' flag, and under freebsd 4.11)

[PHP] Three queries. One Form.

2005-06-09 Thread jack jackson
Hi, I am trying to make one form on a single page insert info into three tables; query 1 creates an art_id (auto-increment) for the newly created row in table art; query2 creates a media_id in table media. Then I need to get the art_id and media_id created by the first two queries to insert

Re: [PHP] Three queries. One Form.

2005-06-09 Thread jack jackson
Criticalcode w: http://www.criticalcode.com p: 858.733.0160 e: [EMAIL PROTECTED] -Original Message- From: jack jackson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 4:06 PM To: php-general@lists.php.net Subject: [PHP] Three queries. One Form. Hi, I am trying to make one form

Re: [PHP] Three queries. One Form.

2005-06-09 Thread jack jackson
Thanks for this Richard! On 6/9/05, Richard Davey [EMAIL PROTECTED] wrote: Hello jack, Friday, June 10, 2005, 12:05:35 AM, you wrote: jj I am trying to make one form on a single page insert info into three jj tables; query 1 creates an art_id (auto-increment) for the newly jj created

[PHP] Getting checkboxes as array

2005-06-09 Thread jack jackson
HI I have a form which pulls values from the db, and thanks to help from the irc chat, hopefully makes any checkboxes which are selected part of an array to be gotten in post: while ($media_rows = mysql_fetch_assoc($media_result)){ $checkbox_media[] = input

Re: [PHP] Getting checkboxes as array

2005-06-09 Thread jack jackson
to check its actually set before you start inserting. Richard Davey wrote: Hello jack, Friday, June 10, 2005, 2:16:06 AM, you wrote: jj $query = INSERT INTO media_art (media_art_id,art_id, media_id) jj VALUES ('',' . $art_id . ',' . $media_types[2]. '); jj repeat

Re: [PHP] Getting checkboxes as array

2005-06-09 Thread jack jackson
with addrecord: $query\r\n$errMsg\r\n, E_USER_ERROR); } else { $msgText = 'trtdstrongYour record was saved!/strong/td/tr'; } On 6/9/05, Richard Davey [EMAIL PROTECTED] wrote: Hello jack, Friday, June 10, 2005, 2:16:06 AM, you wrote: jj $query = INSERT INTO media_art

Re: [PHP] Beautiful HTML Invoice - Prints like crap! I need some suggestions!

2005-06-07 Thread Jack Jackson
Matt Babineau wrote: Hi all - I've got a great html invoice that prints like crap because of my user of background images and foreground images. Does anyone have any good suggestions other than turn on images in IE to get this thing to print the graphics? Is there a good way I could convert the

Re: [PHP] Beautiful HTML Invoice - Prints like crap! I need some suggestions!

2005-06-07 Thread Jack Jackson
Matt Babineau wrote: Hi all - I've got a great html invoice that prints like crap because of my user of background images and foreground images. Does anyone have any good suggestions other than turn on images in IE to get this thing to print the graphics? Is there a good way I could convert the

Re: [PHP] linux php editor

2005-06-06 Thread Jack Jackson
Clive Zagno wrote: what php GUI editors do you recommend. Ive used bluefish before, any other recommendations, thanks clive I love Jedit http://www.jedit.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Implode? Explode?

2005-06-06 Thread Jack Jackson
'Bags of NY/a | a href='7'Dogs of NY/p ? Thanks in advance, Jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Implode? Explode?

2005-06-06 Thread Jack Jackson
Brent Baisley wrote: You're close, but you need to group your data on the series_id first. You can do that by looping through your array and creating another array using series_id as the array key. You'll end up with a list of arrays named after the series_id. foreach( $result_set as

Re: [PHP] ampersands in href's

2005-06-05 Thread Jack Jackson
'', '', ''', '', '' into the HTML equivilant. And yup, you should do this for all *ML pages as long as the thing being printed is not part of the mark-up syntax. Jack Jackson wrote: Rory Browne wrote: On 6/4/05, Jack Jackson [EMAIL PROTECTED] wrote: Hi, Rory Rory Browne wrote: I think you have the idea. The 's

[PHP] looping through an array problem

2005-06-05 Thread Jack Jackson
This is something dumb I am doing but: Trying to pull all names of publishers in db. This sql: SELECT art.art_id,art.publisher_id,publisher.publisher_name, FROM art LEFT JOIN publisher ON publisher.publisher_id=art.publisher_id pulls (in phpmyadmin) four rows: artID pubID Publisher_name

Re: [PHP] looping through an array problem

2005-06-05 Thread Jack Jackson
Maas wrote: Jack Jackson wrote: This is something dumb I am doing but: Trying to pull all names of publishers in db. This sql: its a mysql question in disguise, maybe...: SELECT DISTINCT art.art_id,art.publisher_id,publisher.publisher_name FROM art LEFT JOIN publisher

Re: [PHP] looping through an array problem

2005-06-05 Thread Jack Jackson
M. Sokolewicz wrote: Jack Jackson wrote: Thanks for all the replies. Jochem, thank you for this code, which will take me all night to understand (though I bet it works). I also note that SELECT DISTINCT worked here, too Also as many of you noticed before me, the art_id

Re: [PHP] looping through an array problem

2005-06-05 Thread Jack Jackson
a link to the Sneezy Acres Tribune only to arrive at the next page and see, There are no images associated with this publisher. Jochem Maas wrote: Jack Jackson wrote: M. Sokolewicz wrote: Jack Jackson wrote: Thanks for all the replies. Jochem, thank you for this code, which will take me

Re: [PHP] looping through an array problem

2005-06-05 Thread Jack Jackson
to the Sneezy Acres Tribune only to arrive at the next page and see, There are no images associated with this publisher. Jochem Maas wrote: Jack Jackson wrote: M. Sokolewicz wrote: Jack Jackson wrote: Thanks for all the replies. Jochem, thank you for this code, which will take me all

Re: [PHP] looping through an array problem

2005-06-05 Thread Jack Jackson
everyone has offered up to now and hope I did not offend - I was trying in my last post to indicate that I was an idiot, and it appears I've come off as arrogant. I promise it was not my intent! Jochem Maas wrote: Jack Jackson wrote: M. Sokolewicz wrote: Jack Jackson wrote: Thanks

[PHP] ampersands in href's

2005-06-04 Thread Jack Jackson
Hi, If I want to make a link to a URL which includes some GETs can I just do: a href='{$_SERVER['PHP_SELF']}?p={$p}c={$s}' ... etc etc or must I escape the ampersand somehow? TIA, --Jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ampersands in href's

2005-06-04 Thread Jack Jackson
['art_title']}\img class='sidebar-img' src='{$image_dir}{$sidebar['art_thumbnail']}' width='50' height='60' border='0' alt=\{$sidebar['art_title']}\ //a; } ? Thanks in advance! On 6/4/05, Jack Jackson [EMAIL PROTECTED] wrote: Hi, If I want to make a link to a URL which includes some GETs

Re: [PHP] ampersands in href's

2005-06-04 Thread Jack Jackson
Murray @ PlanetThoughtful wrote: If I want to make a link to a URL which includes some GETs can I just do: a href='{$_SERVER['PHP_SELF']}?p={$p}c={$s}' ... etc etc or must I escape the ampersand somehow? Depends very much on the document type of your page. Valid XHTML (transitional, at

Re: [PHP] ampersands in href's

2005-06-04 Thread Jack Jackson
Rory Browne wrote: On 6/4/05, Jack Jackson [EMAIL PROTECTED] wrote: Hi, Rory Rory Browne wrote: I think you have the idea. The 's are used to seperate the various variables. If you want to set $p to something like 'Tom Jerry' then personally I'd do something like: ?php $p = Tom Jerry

Re: [PHP] Site Design Strategy

2005-06-03 Thread Jack Jackson
asinning wrote: This is my first post to this group. I've been trying to figure this out on my own, but I keep running into complications, so I've decided to get some help. Much thanks for any help! I've been writing php server application for a couple of years, but now I'm turning my

[PHP] Using GET to build multiple sql queries

2005-06-02 Thread Jack Jackson
I'd love some help with http://hashphp.org/pastebin?pid=3443 if anyone can... Basically I want to make it so that, if the get in the url specifies no query or a query to a nonexistent row, send to vanilla index. If url specifies c= then set $c=c and use the number to build the mysql query;

[PHP] Delay?

2005-06-02 Thread Jack Jackson
Has anyone else noticed significant delays in messages getting posted? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using GET to build multiple sql queries

2005-06-02 Thread Jack Jackson
Donald wrote: On 6/2/05, Jack Jackson [EMAIL PROTECTED] wrote: I'd love some help with http://hashphp.org/pastebin?pid=3443 if anyone can... Basically I want to make it so that, if the get in the url specifies no query or a query to a nonexistent row, send to vanilla index. If url specifies c

Re: [PHP] Using GET to build multiple sql queries

2005-06-02 Thread Jack Jackson
in advance. Greg Donald wrote: On 6/2/05, Jack Jackson [EMAIL PROTECTED] wrote: I'd love some help with http://hashphp.org/pastebin?pid=3443 if anyone can... Basically I want to make it so that, if the get in the url specifies no query or a query to a nonexistent row, send to vanilla index

Re: [PHP] Using GET to build multiple sql queries

2005-06-02 Thread Jack Jackson
Greg, thank you for all this... See below Greg Donald wrote: On 6/2/05, Jack Jackson [EMAIL PROTECTED] wrote: Thanks for the reply, Greg, I see how that is useful. I am confused as to how I would implement it here. Please bear with me as I am a newbie and am now perhaps more confused than

[PHP] foreach ($media as $key = $val) problem

2005-06-01 Thread Jack Jackson
so that it appears as [art_id 1] comprises Ink, watercolor. Thanks in advance, Jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php not allowed in .htaccess

2005-05-27 Thread Jack Jackson
Hi, dumb config issue. I'm putting a php_value include_path statement in an .htaccess file php_value include_path .:/home/user/public_html/dis/admin/:/home/nick/ php_value auto_prepend_file /home/user/public_html/dis/admin/wcsconf.php and getting a 500 Server Error. Apache logs say,

Re: [PHP] php not allowed in .htaccess

2005-05-25 Thread Jack Jackson
Sorry folks. Figured it out: in httpd.conf it wasn't in the first or second AllowOverride section (which I had set to All and that's why I was so gobsmacked) BUT it was in the Control access to UserDir directories section. Thanks everyone! -- PHP General Mailing List (http://www.php.net/) To

[PHP] cache class

2005-03-22 Thread Mister Jack
Hi, I'm having a bit of a problem. I include a class in my script, the first time run fine, and then if I change anything in my class, changes are not reflected on the browser, it's like it's still the old class which is used. I've cleared the browser cache, force a pragma no-cache, but no,

Re: [PHP] Re: cache class

2005-03-22 Thread Mister Jack
Mister Jack wrote: Hi, I'm having a bit of a problem. I include a class in my script, the first time run fine, and then if I change anything in my class, changes are not reflected on the browser, it's like it's still the old class which is used. I've cleared the browser cache

Re: [PHP] class and global

2005-03-21 Thread Mister Jack
return_freedb_search($array) { global $freedb; [snip] $freedb-freedb_search($txt); } this is the one working. On Sun, 20 Mar 2005 11:37:53 +, Mister Jack [EMAIL PROTECTED] wrote: Ok, I've tried with a dummy class : class dummy { var $yank; Function dummy

Re: [PHP] class and global

2005-03-20 Thread Mister Jack
2005 20:45:55 +, Mister Jack [EMAIL PROTECTED] wrote: there is no database connection involved here. if I displace the $freedb = new freedbaxs(); inside the function it's works. I should give a try with a dummy object. (but the constructor, only initialize empty array) On Sat, 19 Mar

Re: [PHP] global and object

2005-03-19 Thread Mister Jack
Oops, sorry for double posting. my mistake. accept my apologies :-p On Fri, 18 Mar 2005 23:51:15 +, pooly [EMAIL PROTECTED] wrote: Hi, I'm trying to use a global object (declared at a upper level), but all I got is : Call to a member function on a non-object in

Re: [PHP] class and global

2005-03-19 Thread Mister Jack
The initialisation seems to be ok, since : Function return_freedb_search($array) { global $freedb; $freedb = new freedbaxs(); [snip] $freedb-freedb_search($txt); //line 16... } works and also $freedb = new freedbaxs(); $freedb-freedb_search(ploplop); Function return_freedb_search($array) {

Re: [PHP] class and global

2005-03-19 Thread Mister Jack
there is no database connection involved here. if I displace the $freedb = new freedbaxs(); inside the function it's works. I should give a try with a dummy object. (but the constructor, only initialize empty array) On Sat, 19 Mar 2005 21:17:02 +0200, BAO RuiXian [EMAIL PROTECTED] wrote:

[PHP] RE: Student Suspended

2005-02-10 Thread Jack Scott
Its sad too see so many programmers with so much time on their hands. Stop wasting this valuable resource on something which came from a parody site in the first place! post your idiotic commentary somewhere else -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Using PHP to send file through a http pipe?

2004-12-26 Thread Jack
this while reducing security concerns? (Ie: reading ../../../../../etc/passwd ) --Jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Attempted to unsubscribe to no avail

2004-12-13 Thread Jack . van . Zanen
look at the bottom of the emails you are getting. Specially the last paragraph may be of interest snip If you are receiving mail from one of the mailing lists, there should be absolutely no reason that you would be unable to unsubscribe yourself from the list, except for your ability to follow

RE: [PHP] How to get 2 columns to display?

2004-12-06 Thread Jack . van . Zanen
can you maybe add some debug code to print out the value of $r just before the if? and just after the if It looks at first glance to be correct, except you seem to be missing opening TR (actually that may be your problem) Jack -Oorspronkelijk bericht- Van: Aaron Wolski [mailto:[EMAIL

RE: [PHP] how to show errors in browser

2004-11-17 Thread Jack . van . Zanen
Hi In your PHP.INI there is a section that will take care of that ;; ; Error handling and logging ; ;; ; error_reporting is a bit-field. Or each number up to get desired error ; reporting level ; E_ALL - All errors and

[PHP] PDFLIB error 2516

2004-11-05 Thread Jack . van . Zanen
SBPXXA1 for $_POST[day]/ $_POST[month]/$_POST[year],50, 510); /snip TiA Jack van Zanen

RE: [PHP] PDFLIB error 2516

2004-11-05 Thread Jack . van . Zanen
Thx That was it. Anybody have any ideas as to why this behaviour changed?? Regards Jack -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED] Sent: Friday, November 05, 2004 12:46 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PDFLIB error 2516 Hi

RE: [PHP] what am i doing wrong..??

2004-11-04 Thread Jack . van . Zanen
?php $_SERVER['PHP_SELF'] ? somehow keeps the $_GET variables. If you change this to the real script name it seems to work JACK -Original Message- From: Aalee [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 1:54 PM To: [EMAIL PROTECTED] Subject: [PHP] what am i doing wrong

RE: [PHP] Cannot retrive the data ???

2004-11-01 Thread Jack . van . Zanen
Try if($_POST[insert]) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 01, 2004 5:08 PM To: [EMAIL PROTECTED] Subject: [PHP] Cannot retrive the data ??? Hi there, Look at the following code please. I have a mysql db setup and apache

RE: [PHP] Parsing a concatenated variable and string?

2004-10-29 Thread Jack . van . Zanen
Hi Paul Try print $instrument.number; jack -Original Message- From: Paul Evans [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 9:45 AM To: [EMAIL PROTECTED] Subject: [PHP] Parsing a concatenated variable and string? Hi, I am new to PHP and cant seem to find a way

[PHP] Regular expressions Q

2004-10-28 Thread Jack . van . Zanen
? THX Jack

RE: [PHP] Regular expressions Q

2004-10-28 Thread Jack . van . Zanen
Thx, Just joined today, should have looked thru the archives first though. Jack -Original Message- From: Alex Hogan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 3:31 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Regular expressions Q ereg

Re: [PHP] Re: New PHP tutorial - suggestions welcome

2004-09-25 Thread Jack Gates
anything. You made your own choice to use an older browser. His site works great with Mozilla 1.4 on Linux an Mozilla 1.7.1 on Windows -- Jack The Rhino Gates, Registered Linux user #342662 Morning Star Communications, www.morningstarcom.net Web Hosting, Site Design, Domain Registration, VMware

Re: [PHP] PHP4 readdir is_dir working incorrectly?

2004-09-16 Thread Jack Gates
is hopefully a benefit to all PHP programmers worldwide. Respectfully, -- Kristopher Spencer-Yates Dev Mgr/Systems Administration [EMAIL PROTECTED] -- Jack The Rhino Gates, Registered Linux user #342662 Morning Star Communications, www.morningstarcom.net Web Hosting, Site Design, Domain

Re: [PHP] PHP4 readdir is_dir working incorrectly?

2004-09-16 Thread Jack Gates
to pick up which is hopefully a benefit to all PHP programmers worldwide. Respectfully, -- Kristopher Spencer-Yates Dev Mgr/Systems Administration [EMAIL PROTECTED] -- Jack The Rhino Gates, Registered Linux user #342662 Morning Star Communications, www.morningstarcom.net Web Hosting, Site Design

[PHP] PHP to execute hyperlink?

2004-09-14 Thread Jack Gates
will be easy to figure out. Every time I try to figure out these date time functions I get syntax errors. I can't figure out what the PHP manual says about these functions. Any body have any ideas? Thanks, -- Jack The Rhino Gates, Registered Linux user #342662 Morning Star Communications

[PHP] PHP site ?

2004-09-04 Thread Jack Gates
this is an internal network address, it is just for example.) osCommerce gets more than just the numbers, they get the name as well I think. Thanks for any insight on what they might be doing. -- Jack Rhino Gates, Registered Linux user #342662 Morning Star Communications, www.morningstarcom.net Web Hosting

Re: [PHP] PHP site ?

2004-09-04 Thread Jack Gates
Thanks for all the responses. Now I am satisfied and can leave this one alone. -- Jack Rhino Gates, Registered Linux user #342662 Morning Star Communications, www.morningstarcom.net Web Hosting, Site Design, Domain Registration, VMware Workstation Software and GSX Server Software -- PHP

[PHP] Does any one else get this?

2004-09-04 Thread Jack Gates
exist or is inactive. -- Jack Rhino Gates, Registered Linux user #342662 Morning Star Communications, www.morningstarcom.net Web Hosting, Site Design, Domain Registration, VMware Workstation Software and GSX Server Software -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] PHP site ?

2004-09-04 Thread Jack Gates
I replaced this: $address = getenv(REMOTE_ADDR); with this $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); and now I am getting exactly what I was trying to get. -- Jack Rhino Gates, Registered Linux user #342662 Morning Star Communications, www.morningstarcom.net Web Hosting, Site

Re: [PHP] Re: Does any one else get this?

2004-09-04 Thread Jack Gates
Sorry! Chris, I meant to send this to the list. On Saturday 04 September 2004 10:17 pm, Chris Martin wrote: Jack Gates wrote: Every time I post to the list, I get an undeliverable on the address below. Does any one else get this? If this address is on the list can we get it removed

Re: [PHP] Re: PHP to replace javascript

2004-09-03 Thread Jack Gates
On Friday 03 September 2004 01:11 am, Sam Hobbs wrote: Jack Gates [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Javascript can open a separate and specifically sized window from a web page when a user clicks on a link that might reference a note or picture etc. Can

[PHP] PHP to replace javascript

2004-09-02 Thread Jack Gates
? If yes, will someone tell me where in the manual on the php.net site I can find the information to learn how to do this? I have been looking through the manual on the site but without knowing the name or names of what I am looking for it is real hard to find it. TIA, -- Jack Rhino Gates

[PHP] which user is a script executing as?

2004-07-23 Thread Jack
of the script - not necessarily whether the script is actually executing as this user or not. I couldn't find this information in phpinfo(). Suggestions much appreciated! Thanks! Jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] THREADS IN PHP

2004-06-12 Thread jack bauer
hi, i'm looking for a methode to use threads in php (on linux) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ## Getting into Netscape.com Inbox

2004-06-04 Thread jack bauer
Hi, i'm trying to access my netscape.com inbox with php, so i started to decode the ssl session and got all sent packets in plaintext, not really hard. but know i have to deal with encrypted cookies and i have no clue what i have to do. i found no help while i crawled the web for hours. an

Re: [PHP] PHP and HTTPS POSTs

2004-04-01 Thread Jack Baty
to an .htaccess file or the apache configuration file... SetEnvIf User-Agent .MSIE. nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 -- Jack Baty Fusionary Media - http://fusionary.com/ Weblog - http://jackbaty.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] OT PHP Programmers

2004-03-18 Thread Jack Sasportas
Not sure where to post this, but my company is looking to hire an inhouse PHP programmer. This could be part or full time depending on details. We are not looking to contract an outside company ( doesn't work for us) or to get headhunters etc to call us. If you are a good PHP/MySQL/HTML

[PHP] Flash and Sessions

2004-02-19 Thread Jack Baty
, as I'm using the same combination as some of the folks reporting problems and have never seen it. Server is IIS 5 and PHP 4.3.3. It also doesn't seem to be a cookie or javascript issue either. Any thoughts? -- Jack Baty Fusionary Media - http://www.fusionary.com/ for life is not a paragraph

[PHP] POSSIBLE TO SETUP PHP USING PROXY AS DEFAULT?

2004-02-03 Thread Jack Bauer
Hi, i'm looking for a method to setup php to use a proxy for all http/ftp connections. i know it's possible to write a script that can do this, but i need to setup php itself for that (php.ini or something like this) i tried different tools for that to tunnel all connection but i didn't found

Re: [PHP] POSSIBLE TO SETUP PHP USING PROXY AS DEFAULT?

2004-02-03 Thread Jack Bauer
to the proxy server (which will have to run on a different port). Most ISPs in asia resort to this tactic. all the best Jack Bauer wrote: Hi, i'm looking for a method to setup php to use a proxy for all http/ftp connections. i know it's possible to write a script that can do this, but i need to setup php

[PHP] Remove Dynamic String between StringA and StringB

2004-01-27 Thread Jack Bauer
Hi :), i tried your code zu replace some parts of a string, the problem is that this method only replaces when there is only 1 word between stringA and stringB. i got the problem that the part between both strings is a dynamic one and much larger then 1 word. i really tried to use the php manual

[PHP] getting content with fput, SESSIONS and frames

2004-01-26 Thread Jack Bauer
Hi Guys, i wanna get some content from an other website with a sessionid and a frameset. my starting code looks like this: ?PHP $fp = @fopen(http://domain.tld/frameset.php?q=string;, r); if($fp){ while($in = fread($fp, 1024)) $reply .= $in; echo ($fp\n\n);

[PHP] Remove Dynamic String between StringA and StringB

2004-01-26 Thread Jack Bauer
Hi :), i'm looking for a function to remove multiple dynamic parts of a string, there are only the start and end strings given (remove all between string A and string B) got somebody a working procedure for that? regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] basic set and read a cookie probs

2003-12-24 Thread Jack E. Wasserstein, DDS, Inc.
); } This yeilds no cookie I have also tried $_COOKIE[] as well What am I doing wrong. Thanks in advance, Jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: basic set and read a cookie probs

2003-12-24 Thread Jack E. Wasserstein, DDS, Inc.
Sorry, No such thing as $_POST_VARS Jack E. Wasserstein [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am using the following code on the php form handler if ($_POST[referdrremember] == true) { setcookie(remailcookie, $_POST_VARS[refdremail],time()+3600,/,wasserstein.com,0

[PHP] phphandle form wont display data

2003-12-23 Thread Jack E. Wasserstein, DDS, Inc.
This must be obvious, but I am having trouble displaying the results of a form in the php handler. Here is the php code in the handler: ?php print the referring doctor is $referringdr .br\n; print the referral date is $dateofreferral .br\n; print the patients first name is $pfirst .br\n;

[PHP] pgp form handler will not display data

2003-12-23 Thread Jack E. Wasserstein, DDS, Inc.
=555-imageupload=Submit=Submit the referring doctor is . the referral date is . the patients first name is . the patients last name is . the patients telephone number is . the referring doctor email is . the upload is Thanks, Jack -- PHP General Mailing List (http://www.php.net

[PHP] How to swap the table's bg color with php

2003-10-03 Thread Jack
! Jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PDF Problem

2003-08-29 Thread Jack
you please give me some hints how i can convert a text file to pdf file under windows environment? Thx alot Jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can we control the content of MS Outlook Express

2003-08-27 Thread Jack
! is this possible? Thx alot Jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to make a global scope array

2003-07-26 Thread Jack Lee
Thank you very much! David Nicholson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, This is a reply to an e-mail that you wrote on Sat, 26 Jul 2003 at 00:50, lines prefixed by '' were originally written by you. Ouch! Sometimes I wish global didn't exist Yes, it can be better

[PHP] how to make a global scope array

2003-07-25 Thread Jack Lee
//I have an array a[] like this: ?php $a[]=0; //How to define and use it in a function like this? function myfunc(something) { echo $a[0]; //got error here Notice: Undefined variable: } ? //Thanks for any help.!!! -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] how to make a global scope array

2003-07-25 Thread Jack Lee
It works! Thanks guys! David Nicholson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, This is a reply to an e-mail that you wrote on Fri, 25 Jul 2003 at 23:51, lines prefixed by '' were originally written by you. [EMAIL PROTECTED] Jack Lee: //I have an array a[] like

Re: [PHP] Need a function to calculate time difference.

2003-07-03 Thread Jack Sasportas
datetime. Thanks Jim Lucas wrote: what type of format does your column take? date time datetime ?? Jim Lucas - Original Message - From: Jack Sasportas [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 2:11 PM Subject: [PHP] Need a function to calculate time

[PHP] Need a function to calculate time difference.

2003-07-02 Thread Jack Sasportas
I am trying to find a function or information on how to properly take a start time and an end time from mysql timestamps in order to calculate time taken. So in theory $endtime-$starttime = timespent. It would be great if this understood that 11:55 pm til 12:10am one day apart only equals 15

[PHP] Q. How to remove new line/CrLf in string??

2003-03-20 Thread Jack Schroeder
Hello: I am trying to use an ASCII/Txt database for a 'for sale by owner' site. I need to figure out a way to remove any carriage returns entered into a Comments string because \n is the record delimiter. I have tried the nl2br() fundtion but that seems to ad the BR but doesn't remove the \n.

Re: [PHP] Q. How to remove new line/CrLf in string??

2003-03-20 Thread Jack Schroeder
Thank you very much. Jack André cupini wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php/mysql grouping output

2003-03-09 Thread Jack
On Sun, 9 Mar 2003 14:56:31 -0500 Kelly Meeks [EMAIL PROTECTED] wrote: Order Num Order Date Product CodeProduct Name --- 1 2003-01-01 12345

Re: [PHP] Help with session needed

2003-03-09 Thread Jack
On Sun, 9 Mar 2003 21:18:33 +0100 Øystein Håland [EMAIL PROTECTED] wrote: The problem is the cookie soon reaches the 4 kb limit, so I would like to achieve the same using session. The trouble is, I don't know how to do. I would appreciate any help that brings me closer to a solution on this.

<    1   2   3   4   5   6   7   >