[PHP] Headers not working

2002-04-05 Thread Sheridan Saint-Michel
://www.foxjet.com/test1.phps http://www.foxjet.com/test2.php http://www.foxjet.com/test2.phps http://www.foxjet.com/test3.php http://www.foxjet.com/test3.phps Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: [PHP-DB] Auto_increment field size (was: Howto make a double LEFT JOIN)

2001-10-05 Thread Sheridan Saint-Michel
numbers so you can't use @variable+1 here. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 05, 2001 11:04 AM Subject: [PHP] Re: [PHP-DB] Auto_increment

Re: [PHP] A powerful editor!

2001-10-03 Thread Sheridan Saint-Michel
palette. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED] To: 'Sheridan Saint-Michel' [EMAIL PROTECTED]; 'Dean Householder' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday

Re: [PHP] Re: MySQL - Selecting Unique Entries

2001-10-03 Thread Sheridan Saint-Michel
different things. The first will combine only those rows who has the same value in both id and name, the second will combine any rows with the same value in name. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com Tom Churm [EMAIL PROTECTED] wrote in message news

Re: [PHP] File extension inc?

2001-10-03 Thread Sheridan Saint-Michel
Remembering, of course, to check and make sure your include statements are of the form include(/path/file.inc) rather than include(http://mysite.com/path/file.inc;) BEFORE adding the below directive (one mistake I won't ever make again =P ) Sheridan Saint-Michel Website Administrator FoxJet

Re: [PHP] A powerful editor!

2001-10-02 Thread Sheridan Saint-Michel
I just have to ask what EXACTLY you mean by nicer colors as Textpad Allows you to set any element of a Syntax Definition to any color between (0,0,0) and (255,255,255). Last I checked 16.7M colors was plenty =P Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com

Re: [PHP] Recursion

2001-10-01 Thread Sheridan Saint-Michel
is when you reach a directory without any subdirectories (every $file fails the if statement). Anyway, I hope this helps. If you have any specific questions about recursion feel free to drop me a line =P Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com

Re: [PHP] select based on time/date

2001-09-26 Thread Sheridan Saint-Michel
will automatically set time_in to Now(). This will avoid a lot of headache for you =) Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Jason Dulberg [EMAIL PROTECTED] To: Sheridan Saint-Michel [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday

Re: [PHP] select based on time/date

2001-09-26 Thread Sheridan Saint-Michel
of the date types. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Jason Dulberg [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, September 25, 2001 6:24 PM Subject: RE: [PHP] select based on time/date I

Re: [PHP] How can I fetch a table from html file using php?

2001-09-26 Thread Sheridan Saint-Michel
You just need a simple Regex. This should do it ?php $fp = fopen(http://demo.ina-finland.fi/sample.html,r;); $buffer = fread ($fp, 100); preg_match(|Table[^]*ruudukko[^]*.+/Table|is, $buffer, $regs ); $table = $regs[0]; echo $table; ? Sheridan Saint-Michel Website Administrator FoxJet

Re: [PHP] fopen // eregi question

2001-09-26 Thread Sheridan Saint-Michel
that helps Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Brian V Bonini [EMAIL PROTECTED] To: PHP Lists [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 9:21 AM Subject: [PHP] fopen // eregi question From the PHP manual

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Sheridan Saint-Michel
(misspelled table or something). also make sure that if you copy your query and paste it directly into MySQL that it works. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] updating a database (mysql)

2001-09-26 Thread Sheridan Saint-Michel
I think this is what you are looking for http://www.php.net/manual/en/function.mysql-affected-rows.php Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Joseph Bannon [EMAIL PROTECTED] To: PHP (E-mail) [EMAIL PROTECTED] Sent

Re: [PHP] How to obtain all the fields' names of a MySQL table?

2001-09-25 Thread Sheridan Saint-Michel
Depending on what exactly you are doing you should probably use http://www.php.net/manual/en/function.mysql-list-fields.php or http://www.php.net/manual/en/function.mysql-fetch-field.php Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message

Re: [PHP] select based on time/date

2001-09-25 Thread Sheridan Saint-Michel
in the first minute of the day (ie 37 - 49). Try this instead: select * from sessions where $timein + interval 1 hour = now(); Thanks for your suggestions and time! __ Jason Dulberg Extreme MTB http://extreme.nas.net No Problem... hope that helps Sheridan Saint-Michel

Re: [PHP] Site Search

2001-09-24 Thread Sheridan Saint-Michel
I posted an example Site Search program to zend. You can view it here http://www.zend.com/codex.php?id=452single=1 Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: vishal khialani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP] Is anyone else seeing this everytime they mail to the list?

2001-09-21 Thread Sheridan Saint-Michel
. (Unless you got this message when CC'ing Wee Chua) Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Jason Bell [EMAIL PROTECTED] To: PHP Users [EMAIL PROTECTED] Sent: Friday, September 21, 2001 12:24 PM Subject: Re: [PHP] Is anyone

Re: [PHP] Is anyone else seeing this everytime they mail to the list?

2001-09-21 Thread Sheridan Saint-Michel
Hmmm... I got the same bounce message when I sent this message. - Original Message - From: Sheridan Saint-Michel [EMAIL PROTECTED] To: Jason Bell [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, September 21, 2001 1:24 PM Subject: Re: [PHP] Is anyone else seeing this everytime

Re: [PHP] Please help!!! Trying to write some chat script!

2001-09-20 Thread Sheridan Saint-Michel
You can use a flat file and work around problems like you described by using flock, for example. I do agree a DB is the best way to go 99.9% of the time though. I just wanted to give an overview of that covered most of the possible ways to write a chat room. Sheridan Saint-Michel Website

Re: [PHP] Codes in PHP

2001-09-20 Thread Sheridan Saint-Michel
. This has been discussed in depth on this list many times. Read through some of the list archives and also read the sessions section of the manual. http://www.php.net/manual/en/ref.session.php If this is not your problem, then please give a better description of the actual problem. Sheridan Saint

Re: [PHP] ...::: Vacation on us! :::...

2001-09-19 Thread Sheridan Saint-Michel
What do you mean decide who gets to go? You is proper english when addressing an entire group. Can anyone say PHPCon 2001? =P Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Jason Bell [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: [PHP] Problem with dropdownboxes allways ontop of layers!!!!! Please Help!!!!!

2001-09-19 Thread Sheridan Saint-Michel
This is a known bug in both IE and Netscape. You can read more about it here http://www.webreference.com/dhtml/diner/seethru/ Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Coenraad Steenkamp [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Please help!!! Trying to write some chat script!

2001-09-19 Thread Sheridan Saint-Michel
. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Diadon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 10:54 AM Subject: [PHP] Please help!!! Trying to write some chat script! Hi! Where are can

[PHP] Weird results from Left Shift

2001-09-19 Thread Sheridan Saint-Michel
Okay, from the manual I have $a $b - Shift the bits of $a $b steps to the left When I run the code ?php $num = 0001000; echo Number is $numBR; $num = $num 1; echo Shifted Number is $num; ? I get the output Number is 0001000 Shifted Number is 2000 What am I missing?!? Sheridan Saint-Michel

Re: [PHP] Weird results from Left Shift

2001-09-19 Thread Sheridan Saint-Michel
I already tried that before posting the question. ?php $num = 8; $num = decbin($num); echo Number is $numBR; $num = $num 1; echo Shifted Number is $num; ? Gives me the output: Number is 1000 Shifted Number is 2000 Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company

Re: [PHP] Re: is PHP crazy, or am I?

2001-09-14 Thread Sheridan Saint-Michel
time: $j=2; $i=2; $tam-$i=2 Continue Past Loop So out of 4 elements, you looked at 2. Hope that helps Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: Richard Lynch [EMAIL PROTECTED] Cc

Re: [PHP] php java script

2001-09-14 Thread Sheridan Saint-Michel
each element into a JavaScript Array Statement Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: AJDIN BRANDIC [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 14, 2001 10:07 AM Subject: [PHP] php java script Hi

Re: [PHP] Expire page...

2001-09-10 Thread Sheridan Saint-Michel
(Pragma: no-cache); // HTTP/1.0 Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Dhaval Desai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 10, 2001 12:31 PM Subject: [PHP] Expire page

Re: [PHP] MySQL query help

2001-09-10 Thread Sheridan Saint-Michel
: set @count=Null; between the selects =P Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Michael George [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 10, 2001 2:20 PM Subject: [PHP] MySQL query help I'm

Re: [PHP] MySQL query help

2001-09-10 Thread Sheridan Saint-Michel
; (I also realized that simply having @count as the test value should work as it should default to NULL) If I don't set it, it just returns 1 on every row. Anyone know why it is doing this? (I am Running MySQL 3.23.36) Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company

Re: [PHP] randomly picking a variable from an array

2001-09-07 Thread Sheridan Saint-Michel
Actually, the difference in speed between generating a random number in either MySQL or PHP is pretty much negligable. If you can have MySQL return just a single row, however, instead of an entire set of rows then there will be a notable difference =) Sheridan Saint-Michel Website

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-05 Thread Sheridan Saint-Michel
- Original Message - From: Ryan Fischer [EMAIL PROTECTED] To: Mark Maggelet [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 05, 2001 1:35 PM Subject: Re: [PHP] Assign multiple variables from mysql_fetch_row() call You wrote: I use list context a lot in PHP and Perl,

Re: [PHP] FW: correction to JOIN

2001-08-30 Thread Sheridan Saint-Michel
Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] What does PHP stand for?

2001-08-29 Thread Sheridan Saint-Michel
/foldoc/30/91.htm) Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Martín Marqués [EMAIL PROTECTED] To: John Meyer [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 28, 2001 5:08 PM Subject: Re: [PHP] What does PHP stand

Re: [PHP] LONGINT... ? to be or not to be?...

2001-08-28 Thread Sheridan Saint-Michel
= 3221225472; $y = 1073741824; $x = decbin($x); $y = decbin($y); $bitand = bindec($x $y); echo Bitwise and gives $bitand; ? It's a bit kludgy but it forces both $x and $y to be compared as binary numbers, which is what you want =) Sheridan Saint-Michel Website Administrator FoxJet, an ITW

Re: [PHP] help needed

2001-08-24 Thread Sheridan Saint-Michel
= select id,article from travel where id '$id' and visible = 'checked' order by id desc; and see if that works. If not, let me know what kind of error you are getting. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: [EMAIL

Re: [PHP] php-counter

2001-08-22 Thread Sheridan Saint-Michel
= mysql_query($query,$dblink))) { echo Error updating database. Please Contact A HREF=\mailto:[EMAIL PROTECTED]\;Administrator/A; exit; } ? Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Gert Mellak [EMAIL PROTECTED

Re: [PHP] Re: PHP based auth -----------------

2001-08-21 Thread Sheridan Saint-Michel
response of 401. This can effectively log out a user, forcing them to re-enter their username and password. Some people use this to time out logins, or provide a log-out button. All the details of this are in the manual. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company

Re: [PHP] PHP on client-side

2001-08-16 Thread Sheridan Saint-Michel
. In addition, can you imagine having to learn to write PHP with browser incompatibilities as bad as JavaScript has? I shudder at the thought. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Tom Malone [EMAIL PROTECTED] To: PHP

Re: [PHP] Sort a an array?

2001-08-16 Thread Sheridan Saint-Michel
Change $query = select * from $table; to $query = select * from $table order by Jobtitle; Assuming (from your code) you want them alphabatized by Jobtitle of course =P Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Allen

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Sheridan Saint-Michel
Doesn't that make your script take A REALLY LONG TIME to run? If you do sleep(1) after each call to mail() and send out 1000 e-mails that would be a little over 16 and a half minutes of sleep. At 5000 you are up to over 80 minutes. Isn't this a problem? Sheridan Saint-Michel Website

Re: [PHP] Creating a javascript array from database data

2001-08-15 Thread Sheridan Saint-Michel
Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Neil Freeman [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 11:16 AM Subject: [PHP] Creating a javascript array from database data Hi there, Well

Re: [PHP] Creating a javascript array from database data (Off-List)

2001-08-15 Thread Sheridan Saint-Michel
for each of the three passes) you can see that no part of the code (including the print \$text\;) is unnecessary Hope this helps Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Neil Freeman [EMAIL PROTECTED] To: Sheridan Saint-Michel

Re: [PHP] smart table construction from array

2001-08-14 Thread Sheridan Saint-Michel
TD Colspan=$colspan/TD\n; else echo TD Colspan=$colspan$outarr[0]/TD\n; } for($j=1; $j count($outarr); $j++) { echo TD$outarr[$j]/TD\n; } echo /TR\n; } ? /Table/Body/HTML Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Sheridan Saint-Michel
Bzzzt...Wrong! But thank you for playing. If you read the FAQ on Sun's Open Source website not only do they admit Java is not open source, but they sort of tip toe around whether or not it ever will be. http://www.sunsource.net/faq.html#Java Sheridan Saint-Michel Website Administrator FoxJet

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Sheridan Saint-Michel
/0,11011,1013904,00.html Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Mark Maggelet [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 2:42 PM Subject: Re: [PHP] PHP in corporate settings

Re: [PHP] Sorry... but a good PHP editor for Linux/Unix

2001-08-01 Thread Sheridan Saint-Michel
If you are working by SSH I would suggest going ahead and taking the time to read the manual and use vim. There is more documentation on vim then you will probably ever need here http://www.vim.org/docs.html Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com

Re: [PHP] How can i make it so....

2001-08-01 Thread Sheridan Saint-Michel
=POST !-- Rest of Form -- ?php } ? Hope that helps. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Steve Wright [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Wednesday, August 01, 2001 4:37 AM Subject: [PHP] How can i

Re: [PHP] How can i make it so....

2001-08-01 Thread Sheridan Saint-Michel
That way people can type in www.yoursite.com/loggedin.php and bypass the Authentication completely. Great! =P Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Chris Fry [EMAIL PROTECTED] To: Steve Wright [EMAIL PROTECTED] Cc

Re: [PHP] php and javascript

2001-07-27 Thread Sheridan Saint-Michel
=Javascript var foo = ?php echo $foo; ?; document.writeln(foo); /Script /Body /HTML If you need something more specific post some code. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Karl Phillipson [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] flat file from textarea?

2001-07-27 Thread Sheridan Saint-Michel
Check the fwrite function. There are a couple of examples of writing flat files there. http://www.php.net/manual/en/function.fwrite.php Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Gary [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] IE - View Source

2001-07-26 Thread Sheridan Saint-Michel
Even if they open a new window without a menu bar, and disable right clicking you can still see their source by opening a new browser window and typing view-source:http://www.sitename.com; =P Sheridan - Original Message - From: Jack [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] IE - View Source

2001-07-26 Thread Sheridan Saint-Michel
view source they will only see lots of /0D looking things, but the page will display like normal (but maybe a bit slower) Andrew - Original Message - From: Sheridan Saint-Michel [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 3:43 PM Subject: Re: [PHP

Re: [PHP] Open window2 (javascript), enter info in a form, then close window2 and refresh window1. help.

2001-07-26 Thread Sheridan Saint-Michel
: opener.location.reload() You can reference the entire DOM of the original window from the new window. Just put opener where you would normally put window =P Let me know if this helps. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Matthew

Re: [PHP] Dynamically generate variable names?

2001-07-26 Thread Sheridan Saint-Michel
if ( ${$named} == 1) { echo foo; } Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Ian Marlier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 2:55 PM Subject: [PHP] Dynamically generate variable names

Re: [PHP] Propably easy regex question

2001-07-25 Thread Sheridan Saint-Michel
I would just do something like if(substring($text, 0, 1) == ) { $text = . $text; } else { $text = . $text; } Where $text is a line of text from your message. Hope that helps Sheridan - Original Message - From: Nicklas af Ekenstam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] .htaccess

2001-07-24 Thread Sheridan Saint-Michel
Whatever they put in the name field of the .htaccess prompt is stored in $PHP_AUTH_USER and what they put in the password field is stored in $PHP_AUTH_PW You can read more about this here http://www.php.net/manual/en/features.http-auth.php Sheridan - Original Message - From: [EMAIL

[PHP] $REMOTE_USER vs $PHP_AUTH_USER

2001-07-24 Thread Sheridan Saint-Michel
After replying to a .htaccess thread I read another reply which suggested they user $REMOTE_USER. I read the HTTP Authentication section and found In order to prevent someone from writing a script which reveals the password for a page that was authenticated through a traditional external

Re: [PHP] Unlink Woes

2001-07-23 Thread Sheridan Saint-Michel
Ok that didn't give any output... and I checked in phpinfo() and found safe_mode off. Any other ideas? Sheridan - Original Message - From: Jack Dempsey [EMAIL PROTECTED] To: 'Sheridan Saint-Michel' [EMAIL PROTECTED] Sent: Friday, July 20, 2001 12:12 PM Subject: RE: [PHP] Unlink Woes

Re: [PHP] mail with html

2001-07-23 Thread Sheridan Saint-Michel
You just need to have the proper MIME information deopending on what exactly you are trying to do. Also, the HTML must be in Quoted Printable Format. If you have PHP configured with imap you can just run your message through the imap_8bit function (or so I am told... I didn't have that luxury =P

Re: [PHP] encryption

2001-07-20 Thread Sheridan Saint-Michel
if that information if helpful at all, but I haven't been able to figure out how to do it. Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 3:21 PM To: Sheridan Saint-Michel Cc: php-general Subject: Re: [PHP] encryption Ahh, well

Re: [PHP] Stoping Frame Breakers

2001-07-20 Thread Sheridan Saint-Michel
I would actually suggest JavaScript, rather than PHP here. Try putting something like SCRIPT LANGUAGE=JavaScript TYPE=text/javascript if (parent.location != http://www.domain.com/frames.php;) window.location = http://www.domain.com/frames.php;; /SCRIPT In the Head of your framed pages

Re: [PHP] Confirmation Requester

2001-07-20 Thread Sheridan Saint-Michel
I Just wrote a page that does basic file management. For the Delete part I used script LANGUAGE=JavaScript function confirmSubmit() { var agree=confirm(Deleted Files Cannot Be Recovered. Are You Sure?); if (agree) return true ; else return false ; } /script In my Head and Input Type=submit

[PHP] Unlink Woes

2001-07-20 Thread Sheridan Saint-Michel
foxjetgr 3516 Jul 20 10:39 admin.php and ~/www/employees$ ls -ld drwxrwxrwx 5 foxjet foxjetgr 1024 Jul 20 10:38 ./ If anyone has any ideas I would certainly appreciate them Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com

Re: [PHP] Unlink Woes

2001-07-20 Thread Sheridan Saint-Michel
I know... that's why I included all the info about how I chmod'ed both the files and directories 777 If you're running PHP as an Apache module it runs as the owner that Apache runs as and can only unlink files owned by that user unless the file you are trying to unlink is world-writable.

Re: [PHP] Unlink Woes

2001-07-20 Thread Sheridan Saint-Michel
How can I find out if my server is in Safe mode? Do I have to call my Host and ask them? Sheridan - Original Message - From: [EMAIL PROTECTED] To: Sheridan Saint-Michel [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 20, 2001 11:25 AM Subject: Re: [PHP] Unlink Woes on 7/20

Re: [PHP] MySQL Query - SOLVED

2001-07-19 Thread Sheridan Saint-Michel
Thanks! That's exactly what I was looking for = 3 ) - Original Message - From: Morten Winkler Jørgensen [EMAIL PROTECTED] To: Sheridan Saint-Michel [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 2:56 AM Subject: Re: [PHP] MySQL Query Hi Sheridan, You wrote: SSM I have a table

Re: [PHP] REGEXP

2001-07-19 Thread Sheridan Saint-Michel
I am not sure if I am understanding you... but if you just want to return the boundary try preg_match(|boundary=\([^\].+)\|Uis, $text, $regs ); $boundary = $regs[1]; I am guessing that you want the boundary from the lines to avoid regexp (too lazy) but now I want to use it. The final result I

Re: [PHP] encryption

2001-07-19 Thread Sheridan Saint-Michel
The problem he is addressing is that the password is sent plaintext to the server before it ever gets to MySQL. I would suggest using a JavaScript program like this http://pajhome.org.uk/crypt/md5/md5src.html and then using the PHP md5 function on the server side and comparing the two results.

[PHP] MySQL Query

2001-07-18 Thread Sheridan Saint-Michel
, any ideas would be greatly appreciated Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com

Re: [PHP] set var in PHP clarified

2001-07-18 Thread Sheridan Saint-Michel
You would do ? $title = some title here; ? HTML HeadTitle? echo $title; ?/Title/Head or ? $title = some title here; echo Title$title/Title; ? Hope that helps Sheridan - Original Message - From: jessica lee tishmack [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18,

Re: [PHP] Fw: Data from SQL to a string in a useable format

2001-07-18 Thread Sheridan Saint-Michel
This may be way out in left field... but since no one else seems to be answering, Have you considered using something like base64_encode? http://www.php.net/manual/en/function.base64-encode.php That would change your image to plaintext without any characters that need to be escaped. The when

[PHP] Code Refusing to Die

2001-07-18 Thread Sheridan Saint-Michel
overlooking something? Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com

Re: [PHP] Code Refusing to Die

2001-07-18 Thread Sheridan Saint-Michel
fopen return false? Sheridan - Original Message - From: rm [EMAIL PROTECTED] To: Sheridan Saint-Michel [EMAIL PROTECTED]; php-general [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 3:40 PM Subject: Re: [PHP] Code Refusing to Die $fp is not a valid file handle because the url is invalid

Re: [PHP] screen

2001-07-18 Thread Sheridan Saint-Michel
header (Location: $PHP_SELF); Sheridan (Seriously though... PHP produces HTML pages which are then handed to the client. It can't clear the screen the way an interactive program does.) - Original Message - From: Jeremy Morano [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

Re: [PHP] Output (Urgent!)

2001-07-17 Thread Sheridan Saint-Michel
You aren't getting the value to the PHP script... allow me to walk through what is actually happening $resolution = SCRIPT LANGUAGE=\JavaScript\document.write(screen.width)/SCRIPT; echo --.$resolution.--; You have just set a variable to SCRIPT

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-17 Thread Sheridan Saint-Michel
There are a thousand ways to pass data... some are just more kludgy than others =) In addition to using hidden fields You could put the data into a Database You could Write it to a file You could put it in a cookie You could use sessions etc, etc, ad nauseam Two things to point out, however.

Re: [PHP] echo vs print (was echo vs printf)

2001-07-16 Thread Sheridan Saint-Michel
Ummm. I am not sure about either having a return value... but print you have $points points; and echo you have $points points; have identical output. You can drop a variable into an echo statement with no problem Sheridan - Original Message - From: Steve Brett [EMAIL PROTECTED]

Re: [PHP] RE: string search

2001-07-16 Thread Sheridan Saint-Michel
Couldn't he just do something like if (strstr($text, aol.com)) { MyFunction(); } else { echo Not Found; } It just seems like using ereg for this is like killing a fly with a sledgehammer Sheridan - Original Message - From: scott [gts] [EMAIL PROTECTED] To: php [EMAIL PROTECTED]

[PHP] Quoted-Printable Encoding

2001-07-16 Thread Sheridan Saint-Michel
) work in it's place? Any help or ideas would be greatly appreciated. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com

Re: [PHP] Quoted-Printable Encoding

2001-07-16 Thread Sheridan Saint-Michel
compiled, but I threw up an info page here http://www.foxjet.com/info.php Are there any other functions I could use, instead if imap_8bit? Sheridan - Original Message - From: jeremy brand [EMAIL PROTECTED] To: Sheridan Saint-Michel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, July

[PHP] Regex Help

2001-07-13 Thread Sheridan Saint-Michel
- The Place for Only Children instead of getting images/Logo.gif like I want I am getting images/Logo.gif ALT=Only Child Club - The Place for Only Children I am not as familiar with Regexes as I would like and any help would be greatly appreciated Thanks Sheridan Saint-Michel Website Administrator