Re: [PHP] N7: Media (Page Info Tab) contents not cached bug?

2002-09-30 Thread Jean-Christian Imbeault
Chris Shiflett wrote: To test this, try changing the image source (on your server) and request the page again. If Netscape fetches the fresh resource, this might be it. If you see the same image as before, then there is definitely a problem somewhere. I did as you suggested and hit the

Re: [PHP] How to specify to browser to cache contents?

2002-09-30 Thread Jean-Christian Imbeault
Chris Shiflett wrote: Luckily, it doesn't matter too much where it is set, because you should be able to set your own with PHP (I think PHP may set it actually when you use PHP's sessions). First, try something simple: header(Cache-Control: no-cache); I'll try that! But what I want is

[PHP] FLASH, MySql and PHP as CGI Problem.....

2002-09-30 Thread Rebekah Garner
Okay, I have come down to the wire and I am at a complete loss. I have a project due and to make a long story short (no lectures on this aspect of my problem please, I have already beate myself up over it)---I had to develop without the server/hosting information due to retarded clients.

Re: [PHP] Re: auto_prepend: *Exactly* like include()?

2002-09-30 Thread Jean-Christian Imbeault
Chris Shiflett wrote: Don't get too carried away here. It sounds like you are confusing two entirely different things. Your earlier questions were related to caching on the client, not on the server. Yes, PHP does have some control over what the client caches through HTTP, but this is

Re: [PHP] N7: Media (Page Info Tab) contents not cached bug?

2002-09-30 Thread Chris Shiflett
Jean-Christian Imbeault wrote: I did as you suggested and hit the refresh button on N7. The .gif did *not* display. I guess that is the proper behaviour? Hmmm. Only if the image referenced in the HTML did not exist. It should have simply fetched the fresh resource (image). I know the

Re: [PHP] N7: Media (Page Info Tab) contents not cached bug?

2002-09-30 Thread Jean-Christian Imbeault
First off thanks for all the help! Chris Shiflett wrote: Sorry, I thought you were interested in the difference in behavior between your Netscape 7 and IE. Actually I am interested in knowing why the View Info Page| Media tab says my jpg is cached but my jpg is not ... If you just want

RE: [PHP] Re: 4.0.2 = 4.2.3, form vars are empty?

2002-09-30 Thread Ford, Mike [LSS]
-Original Message- From: Pekka Saarinen [mailto:[EMAIL PROTECTED]] Sent: 28 September 2002 10:14 For commonly used $PHP_SELF I use this: if (isset($_SERVER)) $PHP_SELF = $_SERVER['PHP_SELF']; $scriptname = basename($PHP_SELF); What's wrong with $HTTP_SERVER_VARS['PHP_SELF']?

RE: [PHP] %e blank with date_format() on windows

2002-09-30 Thread Ford, Mike [LSS]
-Original Message- From: Gerard [mailto:[EMAIL PROTECTED]] Sent: 29 September 2002 18:20 %e with date_format doesn't print out anything on my windows 2k/xp machines, but does on linux. All other chars print fine. Is this a locale setting issue or something? Did you mean

Re: [PHP] Not Displaying From Vars??

2002-09-30 Thread Paonarong Buachaiyo
Stephen Craton [EMAIL PROTECTED] wrote in message 000601c267ed$1cf93780$[EMAIL PROTECTED]">news:000601c267ed$1cf93780$[EMAIL PROTECTED]... Here's the part that's supposed to display the information. I've only filled in one area so far: tr tdfont size=2 face=Arial,

[PHP] xml_set_character_data_handler logic

2002-09-30 Thread Leendert
It appears that: xml_set_character_data_handler($parser, 'handleData'); calls handleData() 3 times per element. Does anyone know the reason behind this? Sounds like that could be very inefficient. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: xml_set_character_data_handler logic

2002-09-30 Thread Leendert
Leendert [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... It appears that: xml_set_character_data_handler($parser, 'handleData'); calls handleData() 3 times per element. Does anyone know the reason behind this? Sounds like that could be very inefficient.

[PHP] setuid, locked data, security

2002-09-30 Thread Christian Kaiser
Hi, I have an account at a sun server. Until now I've used perl to write CGI scripts. Is there a possibility to prevent files and directories from being read by other users (NFS). Since I'm not root I do not have the possibility to use POSIX functions to set the UID of the current process to

Re: [PHP] Newbie Q: Any difference what the .ext is on include() files???

2002-09-30 Thread -[ Rene Brehmer ]-
I appreciate your advice, but it would not really apply to my structure ... because of the amount of files I use, I've got seperate include folders for each section ... otherwise I'd get all weird in the head trying to remember which files go where. Basically it's the site in my sig that I'm

Re: [PHP] pdf question

2002-09-30 Thread Marek Kilimajer
I think you can still make a tempfile in /tmp, use this directory Jonas Geiregat wrote: this is my code ?php $pdf = pdf_new(); pdf_open_file($pdf); pdf_begin_page($pdf, 595, 842); pdf_set_font($pdf, Times-Roman, 30, host); pdf_set_value($pdf, textrendering, 1); pdf_show_xy($pdf, text

Re: [PHP] OT-best PDF creation tool

2002-09-30 Thread Marek Kilimajer
I use FPDF www.fpdf.org , free even for commersional use and doesn't require any special module loaded Ryan A wrote: Hey guys, I know this is totally off topic on a php list but I have a client who wants a PDF document and since I have never made one before...which is the easiest and best

[PHP] PHP running from CD through windows

2002-09-30 Thread Uma Shankari T.
Hello, I have installed php,apache and mysql under one folder and copied the same folder to the cd .apache and mysql is up and running while executing from the cd ..but php is not working..when i opened the php file it is asking for through which you want to view..I have copied the same

RE: [PHP] Newbie Q: Any difference what the .ext is on include() files???

2002-09-30 Thread John W. Holmes
[snip] How'd anyone be able to pull out my PHP source anyway? Since it's an http server, it'll only respond to http requests, and since php is processed upon request, the enitre source will be altered to just html ... don't get that ... Yeah, that's true if you give it a .php extension.

[PHP] Security and register globals

2002-09-30 Thread ed
Having recently switched from php 4.0.0 to 4.2.3 I quickly realized the change in variable handling. I still experience problems using the $_POST and $_GET globals so I currently have my register globals ON so I can have the ability to pass variables from page to page without using the $_POST

RE: [PHP] Security and register globals

2002-09-30 Thread John W. Holmes
Having recently switched from php 4.0.0 to 4.2.3 I quickly realized the change in variable handling. I still experience problems using the $_POST and $_GET globals so I currently have my register globals ON so I can have the ability to pass variables from page to page without using the $_POST

Re: [PHP] Newbie Q: Any difference what the .ext is on include() files???

2002-09-30 Thread @ Edwin
Hello, On Monday, September 30, 2002 4:32 PM Subject: Re: [PHP] Newbie Q: Any difference what the .ext is on include() files??? [ Rene Brehmer ] wrote: I appreciate your advice, but it would not really apply to my structure ... because of the amount of files I use, I've got seperate include

Re: [PHP] OT-best PDF creation tool

2002-09-30 Thread Justin French
Are you talking about dynamic generation of a PDF file with a server, or are you just talking about making PDFs on your desktop computer for use on the web? Justin French on 30/09/02 9:51 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: I use FPDF www.fpdf.org , free even for commersional use

RE: [PHP] Security and register globals

2002-09-30 Thread ed
Correct! Problem is that I have been given explicit instructions to not use cookies to do this. The only way I can think of doing it without using cokkies is to pass at least one variable from page to page so the scripts know who the user is. Getting them to the user index page with links to

[PHP] xml encodeing with new_xmldoc(1.0);

2002-09-30 Thread Davíð Örn Jóhannsson
I need to apply iso-8859-1 encodeing to the ?xml version=”1.0”? that this function creates: new_xmldoc(“1.0”). I tried to replace the line but ofcourse the new_xmldoc function creates object-tree of the document and I don’t know I can reffrer to the first line, or ?xml version=”1.0”? or just

[PHP] Manager SQL error

2002-09-30 Thread Christian Ista
Hello, I'd like to catch all the queries. I'd like to use a log table, when I have a problem with the query, add a record with the query number, the query, date and time, and have a url to go to a page without error. My idea was to create a session array with, by cell : - the query - query

RE: [PHP] Security and register globals

2002-09-30 Thread John W. Holmes
Correct! Problem is that I have been given explicit instructions to not use cookies to do this. The only way I can think of doing it without using cokkies is to pass at least one variable from page to page so the scripts know who the user is. Getting them to the user index page with links

RE: [PHP] Security and register globals

2002-09-30 Thread ed
It would be possible to do this if I then created another table to load their profile data to and use the unique id as the identifier. It would make it alot harder for someone to guess an ID. I would then need a way to flush out their records from the second table when they are finished. Easily

[PHP] Re: xml encodeing with new_xmldoc(1.0);

2002-09-30 Thread Manuel Lemos
Hello, On 09/30/2002 09:54 AM, Föíö Öxî‰êójînyóon wrote: I need to apply iso-8859-1 encodeing to the ?xml version=”1.0”? that this function creates: new_xmldoc(“1.0”). I tried to replace the line but ofcourse the new_xmldoc function creates object-tree of the document and I don’t know I

RE: [PHP] Regular expression help converting doc to xml (somewhatOT)

2002-09-30 Thread Geoff
On Fri, 2002-09-27 at 16:53, John Holmes wrote: This isn't accurate enough because DT is not always preceeded by: DD some text. It is sometimes preceeded by DT some text /DT or other items. This expression matches fairly well: DD[a-zA-Z0-9\.,'\-\s]* So it matches up to the DT: DD A whole bunch

[PHP] mail headers mail filtering

2002-09-30 Thread debbie_dyer
More and more emails seem to be getting blocked by mail filtering systems looking for spam (but trashing legitimate mail at the same time). Does anyone have any tips for ensuring mails get through these systems (with regard to headers) or do we just have to accept now that email can no longer

[PHP] RE: OT-best PDF creation tool

2002-09-30 Thread Jerry Artman
MacOSX! Any Document, from any application... Method 1- hit command-shift-4 then spacebar and use the camera to highlite the screen, menu, dock whatever and click, a PDF will appear on your desktop of the selected. Good for lower res. Method 2- Select print from whatever application and in the

[PHP] image viewing in the mail client

2002-09-30 Thread Ramesh Nagendra Pillai
Hai All I have developed an application to send newsletter periodically using simple mail function in PHP, the newsletter is in HTML format and also have some images. The problem is when we see the newsletter in the inbox, images are not coming. So I added base reference to image, its working

[PHP] mime type list

2002-09-30 Thread christian haines
hi all, i have been looking around on the net for a relatively complete mime-type listing (possibly showing extensions) but have not come across anything. does anyone know of such a list or where i could obtain one? who looks after such a list might be a better question. many thanks christian

Re: [PHP] OT-best PDF creation tool

2002-09-30 Thread Marek Kilimajer
I'm taling about dynamic generation with the server, but now I see Ryan likely ment some desktop soft. Justin French wrote: Are you talking about dynamic generation of a PDF file with a server, or are you just talking about making PDFs on your desktop computer for use on the web? Justin

[PHP] general apache list

2002-09-30 Thread electroteque
where can i find it ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] error in php script

2002-09-30 Thread prasanna shetye
Hello I have downloaded am email client named twiggi for linux . It has a configuration file which creates database and generates a config.php file . After running this file site starts to work . But when I surfed the index.php file or test.php file of site it gives error .. warning :

[PHP] about the way socket_select works...

2002-09-30 Thread Mário Filipe
Hi This may seem a stupid question but here goes. I'm working on my masters thesis and I'm programming a small daemon to gather some statistics from the network using PHP. My idea was to have a tcpstat process started via popen. Since this thing is going to be concurrent I thought about using

[PHP] PHP Session register variable not always restored with contents

2002-09-30 Thread Brad Hanson
I have been trying to save a variable using PHP sessions. What I find is that while most of the time the variable content is restored and available on the subsequent pages, however there are times that the variable seems to be there but the contents are not. If I hit the browser refresh a

[PHP] Re: general apache list

2002-09-30 Thread @ Edwin
Lots of ways. Perhaps, 1. You can try finding one on the Apache website. ;) 2. Try Google. Or, 3. You can try here: http://httpd.apache.org/userslist.html - E "Electroteque" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... where can i find it ? -- PHP

Re: [PHP] mime type list

2002-09-30 Thread Marek Kilimajer
I know about /etc/mime.types, does that help? christian haines wrote: hi all, i have been looking around on the net for a relatively complete mime-type listing (possibly showing extensions) but have not come across anything. does anyone know of such a list or where i could obtain one? who

[PHP] Re: general apache list

2002-09-30 Thread @ Edwin
...I mean lot of "places"... :) - E "@ Edwin" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Lots of ways. Perhaps, 1. You can try finding one on the Apache website. ;) 2. Try Google. Or, 3. You can try here: http://httpd.apache.org/userslist.html - E

[PHP] mail headers filtering

2002-09-30 Thread Debbie Dyer
I sent this mail earlier:- More and more emails seem to be getting blocked by mail filtering systems looking for spam (but trashing legitimate mail at the same time). Does anyone have any tips for ensuring mails get through these systems (with regard to headers) or do we just have to accept

Re: [PHP] mail headers filtering

2002-09-30 Thread Chris Hewitt
Debbie, Your post got through. I've not seen any replies. If all ISPs dealt with spam generated by their own customers promptly, and passed on the info to the right ISP if not them, then the net could be virtually spam free (well, maybe). Regards Chris Debbie Dyer wrote: I sent this mail

RE: [PHP] PHP Session register variable not always restored with contents

2002-09-30 Thread John W. Holmes
I have been trying to save a variable using PHP sessions. What I find is that while most of the time the variable content is restored and available on the subsequent pages, however there are times that the variable seems to be there but the contents are not. If I hit the browser refresh

RE: [PHP] image viewing in the mail client

2002-09-30 Thread John W. Holmes
Do you actually want to send the image data in the email? Why not just reference them off of your server. In your email, provide a full path to the image, http://www.domain.com/email/images/pic.gif. That's providing you are already setting the correct HTML headers. Sending the actual image data

RE: [PHP] Security and register globals

2002-09-30 Thread John W. Holmes
It would be possible to do this if I then created another table to load their profile data to and use the unique id as the identifier. It would make it alot harder for someone to guess an ID. I would then need a way to flush out their records from the second table when they are finished.

[PHP] Justing-PDF creation......

2002-09-30 Thread Ryan A
Hey, Thanks, the online tool at Adobe worked great. Cheers, -Ryan.

[PHP] Quickie

2002-09-30 Thread Daniel Alsén
Guys, i've been away for a while - enjoying a much needed vacation in lovely Hungary and expanding my company. Now im back to bother you with easy questions ;) I am doing a small site multilingual and will display different content depending on what language the user choses. When the user comes

RE: [PHP] Quickie

2002-09-30 Thread John W. Holmes
Is register globals on or off? ---John Holmes... -Original Message- From: Daniel Alsén [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 12:19 PM To: php general Subject: [PHP] Quickie Guys, i've been away for a while - enjoying a much needed vacation in lovely

[PHP] checking if a MySQL update worked

2002-09-30 Thread Henry
Hi All, mysql_affected_rows() returns zero if you update without changing the data in a database record. How do you tell the difference betwix it worked but nothing changed as opposed to it didn't work? TIA Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

SV: [PHP] Quickie

2002-09-30 Thread Daniel Alsén
John W. Holmes propably said: Is register globals on or off? On. Now - without doing anything - i managed to change the value of $lang to 'en' with a link (pagesname.php?lang=en). But i can't change it back with ?lang=se. Should i get someting to eat to get my brain working? - D -- PHP

[PHP] Re: mail headers filtering

2002-09-30 Thread Henry
Hi Debbie et.al. I think that we just have to accept that emails can no longer be relied upon. How about somebody making a javascript email encoder so that if you use a javascript enabled mail client it will get decoded only once it arrives with the recipient. With a link for those people

[PHP] eregi_replace and regular expressions

2002-09-30 Thread Eric Dean
Hello all, I am trying to add html code using php on the fly while uploading web pages to our database. All of my replace functions seem to work well except one. I am trying to add a table tag after the body tag. It is easy to find the body tag because there is only one body in an html

RE: [PHP] image viewing in the mail client

2002-09-30 Thread Steven
Question: Do you need to authenticate to a web proxy type server / firewall to view web pages. In our configuration, if you do not authenticate to our proxy server, you are not only blocked from surfing the web, but any e-mail with images embedded via HTML is also blocked. To view the e-mail

[PHP] Re: mail headers filtering

2002-09-30 Thread Debbie Dyer
Jon Thanks but I already did all that - I first noticed it a while ago when people signing up on my site (and having to respond to a confirmation mail) were complaining that they never received the confirmation mail - not all people just a percentage. I tried manually emailing one of these email

RE: [PHP] eregi_replace and regular expressions

2002-09-30 Thread John W. Holmes
I am trying to add html code using php on the fly while uploading web pages to our database. All of my replace functions seem to work well except one. I am trying to add a table tag after the body tag. It is easy to find the body tag because there is only one body in an html document. I

RE: [PHP] Quickie

2002-09-30 Thread John W. Holmes
John W. Holmes propably said: Is register globals on or off? On. Now - without doing anything - i managed to change the value of $lang to 'en' with a link (pagesname.php?lang=en). But i can't change it back with ?lang=se. Should i get someting to eat to get my brain working? Here's

Re: SV: [PHP] Quickie

2002-09-30 Thread Marek Kilimajer
Your session variable overwrites the get variable, use $newlang session_start(); session_register(lang); if(isset($newlang) $lang=$newlang; // check here for valid values if (!isset($lang)) { $lang = 'se'; } Daniel Alsén wrote: John W. Holmes propably said: Is register globals on or off?

Re: [PHP] checking if a MySQL update worked

2002-09-30 Thread Marek Kilimajer
mysql_error() will contain error text if it didn't work Henry wrote: Hi All, mysql_affected_rows() returns zero if you update without changing the data in a database record. How do you tell the difference betwix it worked but nothing changed as opposed to it didn't work? TIA Henry

Re: [PHP] Re: mail headers filtering

2002-09-30 Thread Debbie Dyer
Hi Henry I think that we just have to accept that emails can no longer be relied upon. - yes I know we all want to stop spam but when you rely on email to automate signups, speak to customers etc..it's a Good luck finding your javascript encoder Debbie - Original Message -

SV: SV: [PHP] Quickie

2002-09-30 Thread Daniel Alsén
Thanks guys! That did the trick. Time to study these sessions a bit more thourough it seems :) Another thing - the first time the page is loaded every link on the page gets a '?PHPSESSID=...etc...' attached to itself. But only the first time. It dissapears after the first click i make. I've

RE: [PHP] Security and register globals

2002-09-30 Thread ed
I think I would rather do it using a new table than have to handle sessions. It actually sounds harder to do it this way but I like hard. :) Thanks, Ed On Mon, 30 Sep 2002, John W. Holmes wrote: It would be possible to do this if I then created another table to load their profile data

RE: [PHP] general apache list

2002-09-30 Thread Chuck Payne
apache.org or on Google for Apache Today, I think it apachetoday.org. There you will find your list. Chuck Payne -Original Message- From: electroteque [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:45 AM To: [EMAIL PROTECTED] Subject: [PHP] general apache list where can

[PHP] What to use for multilanguage

2002-09-30 Thread Uros Gruber
Hi! I'm developing some CMS engine and right now i'm at designing multilanguage feature. I nee some advices what is the best way to solve this. What is with memory because if i have some big language files etc. What to use, pure php, db, gettext. What about speed. Any ideas would be good.

[PHP] Re: general apache list

2002-09-30 Thread electroteque
[EMAIL PROTECTED] if anyone needs it here it is. @ Edwin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ...I mean lot of places... :) - E @ Edwin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Lots of ways. Perhaps, 1.

Re: [PHP] Re: mail headers filtering

2002-09-30 Thread Chris Hewitt
Debbie Dyer wrote: addresses and got it bounced back with the following:- X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.securesite7.com X-AntiAbuse: Original Domain - c-u-online.co.uk X-AntiAbuse:

[PHP] echo writes number of chars written

2002-09-30 Thread David Busby
List, On my php.4.2.3, Apache 4.0.42 install my echo statements all output the number of characters written (in hex). So this code: echo addrone$id-addrone/addrone; echo addrtwo$id-addrtwo/addrtwo; echo city$id-city/city; Makes this XML: 1d addronePO BOX 698/addrone 13 addrtwo/addrtwo

Re: [PHP] Re: mail headers filtering

2002-09-30 Thread Debbie Dyer
Ok, thx Chris. I'll have to take that up with my providers. Maybe its the same problem for the others who've been contacting me re mails not arriving at their mailboxes too - next one who does I will ask them to check their dns as well. Debbie - Original Message - From: Chris Hewitt

[PHP] mysql timestamp and php date

2002-09-30 Thread Bryan Koschmann - GKT
Hello, I have a table with timestamps in mysql. The timestamps of course are in the format of 20020930014535 but I would like to format the output as this: date(l F jS H:i:s, $last_modified) What is the simplest way to do this? I see there are a few ways to convert it, but I was hoping for

[PHP] Re: xml_set_character_data_handler logic

2002-09-30 Thread Leendert Brouwer
Cardinal from IRC answered my question. It turns out that when you indent your childs with tabs, it sees those tabs as cdata of the root element. I had the following XML file: settings dbnamesampleDBName/dbname dbusersampleUser/dbuser dbhostlocalhost/dbhost /settings The tabs in

[PHP] Re: mysql timestamp and php date

2002-09-30 Thread Jason Young
In my pages, I just format the date from the SQL query: SELECT DATE_FORMAT(last_modified, '%m/%d/%Y %h:%i:%s %p') AS last_modified (...) Look up the DATE_FORMAT on mysql.com to get a list of the arguments. Hope this helps! -Jason Bryan Koschmann - Gkt wrote: Hello, I have a table with

[PHP] Determining platform PHP is running on?

2002-09-30 Thread Matt Giddings
Is there a way to determine what platform PHP is running on? I'm trying to write a script that parses path names which we all know unix and windose don't agree with each other. Thanks, Matt --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com).

RE: [PHP] Determining platform PHP is running on?

2002-09-30 Thread Jay Blanchard
[snip] Is there a way to determine what platform PHP is running on? I'm trying to write a script that parses path names which we all know unix and windose don't agree with each other. [/snip] Put ?php php_info(); ? in a page and then load in the browser from your server. It's revealing ... HTH!

[PHP] Strange output using PHP 4.2.3/Apache 2.0.42 with domxml

2002-09-30 Thread David Busby
List, When using echo or print to output data to the response buffer, these functions also put the number of bytes in the buffer into the output stream. This only happens when I use this code in my script: $doc = domxml_open_mem($HTTP_RAW_POST_DATA); After that script echo and

RE: [PHP] Determining platform PHP is running on?

2002-09-30 Thread Matt Giddings
I'm looking for something that returns just the OS type, not tons of information. :) I think the constant PHP_OS is what I'm looking for. I just found it. Thanks for the suggestion though, Matt -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Monday,

[PHP] GZip

2002-09-30 Thread Jay
I have the output_handler = ob_gzhandler turned on in the php.ini file so it will automatically compress all my pages. I was just wondering what is a good zlib.output_compression level to put it on or is the default (4kb) a good size? thanks! -- PHP General Mailing List (http://www.php.net/)

[PHP] GET - POST problem

2002-09-30 Thread Francisco Vaucher
Hi, I have a problem when i'm sending form data. The issue happens when I build a mysql query with some form input data. I send the info and I get 'n' results. With this I build a list that has links to the records that match the query. Next step I display one of the items on my query. OK, now

[PHP] Annoying Install Problem

2002-09-30 Thread Steve Keller
I'm hoping someone here might be able to spot what I'm doing wrong with my installation. This is new to me and I've done the best I can by following the documentation, but I can't find a solution to this problem anywhere, even Googling for the error. We're trying to upgrade our version of PHP

Re: [PHP] Re: mail headers filtering

2002-09-30 Thread Chris Hewitt
Debbie Dyer wrote: mailboxes too - next one who does I will ask them to check their dns as Its a problem with the sender's domain, rather than the recipient. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Pay Pal

2002-09-30 Thread Anup
Hello everybody, I thought programming pay pal would be a cinch. I can;t find any information in programming pay pal. All I need to do is one simple transaction to paypal. payapldev.org is down for the next week. Does any one know any other site I can use? -- PHP General Mailing List

[PHP] intalling php.

2002-09-30 Thread Anil Garg
Hi, I want to upload my website..i had a machine on local lan which had already php installed on it...so i made my website there.. Now on a news new unit. I am trying to install php on free bsd machine...the apache webserver is runniing fine.. on installing php it doesnt edit lines

[PHP] XML SAX DOM together?!

2002-09-30 Thread Assistant to Foreign Student Advisor
Hi, I am puzzled by a question about XML's SAX and DOM engines compatibility. Is it possible to have both installed, and use them interchangeably, depending on the function calls. Or you you have to choose only one. And if so, can WDDX library operate with DOM XML or only SAX. Thank you for

[PHP] Need help creating a mysql query in PHP

2002-09-30 Thread DonPro
Hi, I have a form containing a text field where the user types in a sentence. I need to search a mysql table, specifically a text field and display a list of found results. My criteria selections are: 1) return a record if all the words are contained in a record 2) return a record if all any

Re: [PHP] GET - POST problem

2002-09-30 Thread Kevin Stone
I can think of at least two solutions... 1) Open the item queries in a new window (target=_new) leaving the list page open and unmodified. 2) Send NoCache headers and use a PHP session or cookie to store the Form data and resubmit when the back button is pressed. -Kevin - Original Message

RE: [PHP] GET - POST problem

2002-09-30 Thread Francisco Vaucher
OK. That would be a solution. I've been working with this one, but I can't send back the information. Maybe i'm doing something wrong (I really think this). What I've been wondering if this is a common problem ¿? Francisco M. Vaucher Departamento IT Tyco / ADT Security Services Buenos Aires -

Re: [PHP] Re: mysql timestamp and php date

2002-09-30 Thread Bryan Koschmann - GKT
Hi Jason, I had come across this earlier, and while I can get it to return perfectly, I was more looking for something that I could do without having to pull 2 queries. Err, well wait, I wouldn't have to would I? I have 4 columns: idnum, title, date, news I was just doing a select * from

[PHP] Apache 1.3.26 + PHP 4.2.3

2002-09-30 Thread James Mackie
Got a strange problem that I can't find any info on. Maybe someone can give me some insight. On most of my servers that are running 4.2.2 (and before) I used 'killall -USR1 httpd' to reload my apache config. Now all servers that I install with 4.2.3 instead of 4.2.2 this shuts down apache

Re: [PHP] Re: mysql timestamp and php date

2002-09-30 Thread Jason Young
No problem! Refresh MY memory here.. I noticed you didn't return the DATE_FORMAT column AS var .. is that working okay? I seemed to think that it returned a long unwieldy column name.. maybe things are good.. let me know :-D --Jason Bryan Koschmann - Gkt wrote: Hi Jason, I had come

[PHP] Installing php - 4.2.3 with apache - 2.0.40

2002-09-30 Thread Anil Garg
Hi, I am using following versions: php - 4.2.3 apache - 2.0.40 I am reffering to intallationg intruction at : http://www.php.net/manual/en/install.apache.php while intalling php i use the following: ./configure --prerfix=/usr/local -- with -mysql = /usr/local/msyql

Re: [PHP] Re: mysql timestamp and php date

2002-09-30 Thread Bryan Koschmann - GKT
This is what I am using here: $db = DB::connect(mysql://$username:$password@$hostName/$databaseName); if (DB::iserror($db)) die($db-getMessage()); $sql = SELECT idnum, title, DATE_FORMAT(date, '%W, %M %D \ %l:%i%p'), news FROM newslist ORDER BY idnum DESC; $query = $db-query($sql); if

Re: [PHP] Installing php - 4.2.3 with apache - 2.0.40

2002-09-30 Thread Rasmus Lerdorf
You need a current unstable snapshot of PHP to work with recent versions of Apache 2. However, unless you have a really good technical reason for using Apache 2, I would highly suggest sticking with Apache 1 for now. -Rasmus On Mon, 30 Sep 2002, Anil Garg wrote: Hi, I am using following

[PHP] PHP Include Help

2002-09-30 Thread Rick Beckman
I have a series of text files that are set up with each line being a different field. Line 0 is song title, 1 is artist, 2 is album, and so forth. I know how to use PHP to include those files in an HTML template so that I don't have to make a separate page for each song, however, I do have two

[PHP] vulnerabilities??

2002-09-30 Thread Anil Garg
hi, Is there any version of php and apache for which there are no known vulnerabilities?? regards anil :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-INST] vulnerabilities??

2002-09-30 Thread Rasmus Lerdorf
Sure, grab the latest Apache 1.3.x and the latest PHP. On Mon, 30 Sep 2002, Anil Garg wrote: hi, Is there any version of php and apache for which there are no known vulnerabilities?? regards anil :) -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Including Text File in PHP/HTML Template

2002-09-30 Thread Rick Beckman
I have a series of text files that are set up with each line being a different field. Line 0 is song title, 1 is artist, 2 is album, and so forth. I know how to use PHP to include those files in an HTML template using 'echo' so that I don't have to make a separate page for each song, however, I

Re: [PHP] Including Text File in PHP/HTML Template

2002-09-30 Thread Steve Keller
At 9/30/2002 04:39 AM, Rick Beckman wrote: On line 6, I have the list of musicians in the song. Example (ignore the quotes): Doyle Lawson -- lead vocal; Dale Perry -- bass vocal Is there a way to make it so that, when I include line 6 in my PHP template, the ; will be replaced with a line break

[PHP] Regular Expression

2002-09-30 Thread Daren Cotter
I need a regular expression to verify various inputs on my form. I know the base case of: ^[a-zA-Z0-9]+$ matches any letter or number. I'm looking for various input from the list as to what characters should be allowed in the following fields: Name: I would think -, ', and space for sure.

[PHP] MSSQL_ERROR() ?

2002-09-30 Thread [-^-!-%-
Is there an SQL Server quivalent function, to the mysql_error() function-available for msyql? If not, then how do you retrieve the db error for an SQL Server error? -j =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database.

Re: [PHP] vulnerabilities??

2002-09-30 Thread Steve Keller
At 9/30/2002 06:17 PM, you wrote: Is there any version of php and apache for which there are no known vulnerabilities?? It's the vulnerabilities you don't know about that get you. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage,

Re: [PHP] vulnerabilities??

2002-09-30 Thread Brad Bonkoski
Is there such a thing of a software package with no vulnerabilities and/or bugs?? (Windows perhaps :-) The advantage to apache/php is the ability to quickly address those problems once found. -Brad Steve Keller wrote: At 9/30/2002 06:17 PM, you wrote: Is there any version of php and apache

RE: SV: [PHP] Quickie

2002-09-30 Thread John W. Holmes
Another thing - the first time the page is loaded every link on the page gets a '?PHPSESSID=...etc...' attached to itself. But only the first time. It dissapears after the first click i make. Do you have a session_start() on the page? It looks like you have a trans_sid enabled. PHP will add

  1   2   >