RE: [PHP] RE: Events Listings

2001-06-28 Thread Rick Proctor
Hi Everyone, Thanks to the suggestions from everyone I got it working.. Thanks And Check it out @ http://www.alanis-morissette.com/am69/ (It's the TV Guide :-) Rick -Original Message- From: Rick Proctor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 2:04 PM To: [EMAIL PROTECT

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Christopher Ostmo
Marcus James Christian pressed the little lettered thingies in this order... > Hello, > > I'm pretty new to PHP but all I've seen of it so far I pretty much love! > > I've built a web log but when the user enters their data and they use ' or > " (and you know they will) php always shows it f

Re: [PHP] Linux Guru's

2001-06-28 Thread Righteous Cripple
phat linux and vmlinux will work like this as well. * scott [gts] wrote: > search for: linux4win > > > > that's probably what you're looking for... > > you can install on an existing windows partition > > and have it look like a giant file. > > > > -Original Message- >

[PHP] GD: 2.0.1 and PHP 4.0.6

2001-06-28 Thread Righteous Cripple
Hey all, I am trying to add some of the new alpha channel based features to existing charts that I have written and have the following questions: 1. After installing GD 2.0.1 on a redhat 7.0 system and PHP 4.0.6, I am unable to restart apache without a png_get_error_ptr fatal error. When I ru

[PHP] dbf+index

2001-06-28 Thread Szommer Ákos
Hi! Is there any way to use dbf files with it's indexes in php? Win+Apache+PHP4.05 Thanx, Ákos -- 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 PR

Re: [PHP] Latest documentation in PDF format?

2001-06-28 Thread Richard Lynch
> know about, i.e. an automated backend for building the PDF documents from an > original source? --Kent Yes. You need Jade and, err, something else I also don't have, and big honking computer with lots of RAM, and a lot of know-how... It's documented somewhere in the documentation, I think...

Re: [PHP] Auction PHP Solution?

2001-06-28 Thread Miles Thompson
Michael, There was some development on PHP-Auction, I did a custom-rolled one for a client but it's not like e-bay. The client would be adding/removing items from the auction. Miles At 09:56 AM 6/26/01 -0600, Michael O'Neal wrote: >Hi, > >Has anybody seen an "ebay-like" auction solution done in

[PHP] APXS -S option in 4.0.6

2001-06-28 Thread Brian Paulson
Have been trying to compile 4.0.6 with this configure line: ./configure --with-config-file-path=/etc/httpd/conf/ --with-mysql --with-gd=/usr/local --enable-ftp --enable-xml --with-jpeg-dir=/usr/local/include --with-png-dir=/usr/local/include --with-zlib-dir=/usr/local/include --with-apxs

Re: [PHP] [OT-ish] Optional Extras.

2001-06-28 Thread Richard Lynch
I don't see how this is weighted. The count(car_id) and group_by should give a "score" for each car_id. I neglected to use "count(car_id) as score" and to add "order by score desc" though. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

RE: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Jason Lustig
>Also, if your web-server is on your machine, well, you always are 127.0.0.1 >when you surf... It depends on what you have your server set up as. If you have your server set up to listen to the IP 128.205.233.10 then $REMOTE_ADDR will return 128.205.233.10, even if it's on your machine... --Jaso

Re: [PHP] back from a search form

2001-06-28 Thread Richard Lynch
You might be able to send some headers about caching and expiration and convince IE that it's okay to show the user the old data... Alternatively, forget the JavaScript history (which won't work for some users anyway) and use $HTTP_REFERER to link back, perhaps with some PHP variables to return t

[PHP] Adding a line of text to every page PHP spits out

2001-06-28 Thread Brandon Orther
Hello, I want to have a DOC Type ate the top of every PHP script I run. Is there a way to edit the PHP.ini to make PHP spit out a line of text before echoing anything? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECT

RE: [PHP] search for a better php source code viewer

2001-06-28 Thread Montz, James C. (James Tower)
I have been using PHP Coder as I am somewhat familiar with the ColdFusion IDE (CF Studio) http://www.phpide.de/ -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 4:32 PM To: php Subject: RE: [PHP] search for a better php source code viewer i

Re: [PHP] Accessing a Berkeley DB V1.85 using PHP V4.0.5

2001-06-28 Thread Richard Lynch
If all else fails, try ODBC as a fall-back... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - Fro

[PHP] Line Breaks in

2001-06-28 Thread Nathan Cook
Hello- I am selecting a value from a blob field in a mysql db. The value looks like this: Test 12...3 \r \n %0%D Test When I print that value in a $value -- The textarea returns exactly what you see above. I am trying to get it to display a line break (so that I can store the line breaks

Re: [PHP] I want to get the input of keyboard

2001-06-28 Thread Richard Lynch
> I want to get the input of keyboard from php files,but i can't know how to > do. > > Who can tell me any advace about that? If you want the input from the keyboard on the web-server machine (not the client) you can use: $file = fopen('php://input', 'r'); $char = fread($file, 1); If you want

Re: [PHP] RE: Remove value from array

2001-06-28 Thread Richard Lynch
> are you sure it has not been deleted. If you check to see what's in it and > it doesn't exist you'll get the answer that it contains a null value (same > as any other non-exitsant variable). Did you do a foreach to check what is > actually in the array? I believe the behaviour of unset for arra

RE: [PHP] PHP code secrity on VirtualHost

2001-06-28 Thread Chadwick, Russell
Title: PHP code secrity on VirtualHost   I ran into the problem of certain code needing to suexec or do priveledged things that you dont want other domains to be able to do and I ended up writting my own apache module in C for lack of any other way.  If you come up with another solution I'd

Re: [PHP] How to get PHP to do a POST??

2001-06-28 Thread Patrick Calkins
AH! Thank you for this info! This was exactly the problem! When I changed the name_x to name.x, it worked, and UPS' site gave me back what I was looking for. Thanks again, you're a lifesaver! -- Patrick ""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message 046101c0fee3$a5d4ec80$6401a8c0@Lynchux

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Stephen Cope
Marcus James Christian said: : \' How can I filter out these backslashes so they don't appear on the : final public viewable page? That's due to the magic_quotes variables in the PHP settings. You can apply 'stripslashes()' to the string: $what_they_said = stripslashes($what_they_said); This

Re: [PHP] Help - Lotus

2001-06-28 Thread Miles Thompson
Try www.wotsit.org which has hundreds of file formats. There's another site, but I've lost the bookmark. Miles At 12:58 PM 6/27/01 +0100, TV Karthick Kumar wrote: >Hi List, > > I am working on importing data from Lotus Organizer 5.0 to an ddress >book application, written in PHP. > > If

[PHP] connection aborting

2001-06-28 Thread frusdniw
Hello, I'm trying to understand the connection handling in PHP. I've read the documentation page, but everything I've tried doesn't seem to work. I have a script that downloads and parses 5 search engine xml feeds and returns them... a meta search engine of sorts. I'm having problems with it's

[PHP] setting output_buffering for certain hosts or directories

2001-06-28 Thread Mark Maggelet
Is there any way to set output_buffering per directory or host? I tried putting: php_value output_buffering On in my virtual host, also in , , and .htaccess the only place it seems to get noticed is in php.ini php4.7devel/apache1.3.20/linux thanks, - Mark -- PHP General Mailing List (http://w

Re: [PHP] About Integration PHP- VPOS

2001-06-28 Thread Richard Lynch
cURL is probably your only option, but I think you can build cURL into PHP if you haven't already... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatm

RE: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Jason Murray
More to the point, if $input is your variable: -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" > -Original Message- > From: Jamie Thompson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 27, 2001 10:58 PM > To: Marcus James Christian; [EMAIL P

Re: [PHP] looking for a class that handles cookies and sessions

2001-06-28 Thread Richard Lynch
> I need a class that can quickly help me set cookies and sessions, and check > up against them > > anyone have an idea where i can get one like this? If you can't find one in any of the umpteen PHP code archives linked from http://php.net/links.php, here's one I wrote for you: - session.inc

RE: [PHP] PHP Menu.

2001-06-28 Thread Jason Lustig
You would have to use javascript to do that... PHP is server-side, not client-side. You could create the javascript with PHP, but the PHP can't make the menu pop out and stuff... --Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Christian Dechery
yeah... that's a possibility... so there's no way I can see the user'ss IP? At 09:42 27/6/2001 +0100, Colin May wrote: >Almost as if the request was proxied or redirected from the local machine >(127.0.0.1 is the local loop back ip) > >Quoting Christian Dechery (Tue, Jun 26, 2001 at 10:31:54PM -0

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Alexander Wagner
Jamie Thompson wrote: > use the str_replace() function > http://www.php.net/manual/en/function.str-replace.php No. Use stripslashes. http://php.net/stripslashes regards Wagner > -Original Message- > From: Marcus James Christian [mailto:[EMAIL PROTECTED]] > Sent: 27 June 2001 05:19 > To

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Aral Balkan
I sent a reply to this earlier but for some reason some of my posts never make it to the list, so here it is again (hopefully it will post this time, and only once:) >> The way I do it is to use a function to check if magic quotes are on (because if they're on the conversion is done automatically

Re: [PHP] PHP Menu.

2001-06-28 Thread Miles Thompson
PHP is a server side language, Javascript is better for this. Miles Thompson At 03:03 PM 6/27/01 +0200, Deon Heunis wrote: >Hi, > >I would like to know if it is possible to make a pop-out navigation menu >with PHP. > >Regards, > >Deon Heunis >Hetzner Africa >PO Box 3450 >Durbanville 7551 >South

Re: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Christian Dechery
thanks man... HTTP_X_FORWARDED_FOR worked... it had two IPs... I guess is "userIP, proxyIP"... but I worked it out with strtok... thanks a lot! :) At 12:13 27/6/2001 +0200, Brave Cobra wrote: >Have a look in phpinfo. You'll find the desired value there. >The reason is indeed proxying. >or try

[PHP] pc°ü·ÃÁ¤º¸ÀÔ´Ï´Ù

2001-06-28 Thread rtyuio
ÃÖ½ÅÇüPC CPU¡¦¡¦¡¦.933 (ÀÎÅÚ) RAM¡¦¡¦¡¦128 (»ï¼ºÁ¤Ç°133) HDD¡¦¡¦¡¦30 G MONITER.17"(»ï¼º77E) ¸ðµÎ43¸¸¿ø °ü½ÉÀÖÀ¸¼¼¿ä http://comzon.atozpia.com/news/news.html À̸®·Î ¿À¼¼¿ä -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: [PHP] Missing arguments for function in class? (object-oriented programming)

2001-06-28 Thread Markus Fischer
On Wed, Jun 27, 2001 at 07:26:53AM -0600, Thomas David Kehoe wrote : [...] > $my_records = new Display_Records; [...] > > class Display_Records { > > function display_records($row, $record_count) { The constructor of your class assumes two parameters; you're creating an instance wi

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Marcus James Christian
To all of your who sent so many great answers I would like to say thank you! THANK YOU! THANK YOU! I ended up using strip slashes and it worked perfectly on only my second attempt of putting it into the code! Thanks, Marcus Marcus James Christian wrote: > Hello, > > I'm pretty new to PHP but

[PHP] RE: Creating a PDF document from an HTML Page

2001-06-28 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

[PHP] PHP and Windows XP

2001-06-28 Thread Jochen Kaechelin
Will PHP run under Windows XP? -- 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]

[PHP] Interfacing with Excel

2001-06-28 Thread Sharat Hegde
Hello, I have a web site on a Unix environment running PHP 3.0 and MySQL. I need to convert data in an Excel format to a MySQL database format periodically based on the input feed received in Excel format. the conversion to MySQL is not a problem at all. What I need help is to read data from an

SV: [PHP] [PHP-WIN] Problems running php from samba network shares...

2001-06-28 Thread Mattias Segerdahl
There arn't any permission problems, since we're already getting php to run, could it be that php 4.0.6 under windows dosn't support UNC paths.. Iow, \\server\share\name paths!? -Ursprungligt meddelande- Från: Richard Lynch [mailto:[EMAIL PROTECTED]] Skickat: den 27 juni 2001 07:12 Till:

Re: [PHP] How to get PHP to do a POST??

2001-06-28 Thread Christopher Ostmo
Patrick Calkins pressed the little lettered thingies in this order... > Hello all! > Here is an interesting problem that I can not solve, maybe one of you > know?? Here is what I'm trying to do. I sell a lot of items on eBay, and > lots of people ask me for a quote on shipping. We ship via UPS an

[PHP] extract data from html

2001-06-28 Thread Adrian D'Costa
Hi, I keep receiving a lot of word documents the I need to extract and put into a mysql table. As of now, I do a cut and paste manually using a html from to a php script to dump it into the mysql table. Since the format is usually the same (most of the time) I am sure there should be another wa

[PHP] Pricing Advice Needed

2001-06-28 Thread Alva Chew
Hi everyone, Just don't really know where to post this, so here goes: I am working as a freelance programmer. Problem is I don't really have a clue how the pricing mechanism in the industry works. I have heard calculations based on man hours and lines of code, so perhaps anyone one can tell me o

Re: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-28 Thread Stephen Cope
: defeats the purpose of PHP sessions. I can check the HTTP_REFERER to see if : the user came from my own site, but that can be spoofed. I can log and check : the users IP address, but that can't be relied upon. : : Is there any reliable way around this? Am I missing something obvious? On the

Re: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Colin May
check the httpd's X_FORWARDED_FOR var using getenv or similiar... Quoting Christian Dechery (Wed, Jun 27, 2001 at 09:01:28AM -0300) > yeah... that's a possibility... > so there's no way I can see the user'ss IP? > > At 09:42 27/6/2001 +0100, Colin May wrote: > >Almost as if the request was prox

Re: [PHP] extract data from html

2001-06-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Adrian D'Costa") wrote: > 1.Open the html file in read only mode > 2.Start reading the html file till I encounter a tag (I don't know > how to do this) > 3.Grab that data after the tag (and then what?) See

[PHP] Passing XML Doc's

2001-06-28 Thread Niel Zeeman
Hi there Is there anyway of passing a xml document to a php page as raw data. What I want to do is eg. send a page a xml document and recieve a response ( in xml ) from that page. I could eg get the result using fopen( 'http://url.com/xml.php' , 'r' ) but how do i send it any data without usin

RE: [PHP] Missing arguments for function in class? (object-orientedprogramming)

2001-06-28 Thread Matt Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I have a function that works perfectly (from within a script). But > when I make it a class (object) and call it from an external file, > I get the following error: > > Warning: Missing argument 1 for display_records() in > http://www.fr

Re: [PHP] PHP and Windows XP

2001-06-28 Thread elias
Why not? if it works with WinME and PWS, I suppose it will with XP too. Please try it and report what happens please. "Jochen Kaechelin" <[EMAIL PROTECTED]> wrote in message NFBBLHGFAKNLFNPOHMPHKEKEDEAA.jk@intern">news:NFBBLHGFAKNLFNPOHMPHKEKEDEAA.jk@intern... > Will PHP run under Windows XP? >

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Delbono
Hello, I had the same problem: So I tried stripslashes.. But Queries do break if unslashed ' or " are present. and furthermore, there are many other problems .. So I created a function called "entities".. Let's imagine a user made an input of name: Simon "The Snake" surname:O'Con

Re: [PHP] --with-zlib/--with-zlib-dir and --enable-xslt

2001-06-28 Thread Rouvas Stathis
Richard Lynch wrote: > > > Been trying to compile PHP.4.0.6 with --with-zlib directive and failing. > > Using --with-zlib-dir, however succeeds. > > > > Does anyone knows the difference between the two ? > > --with-zlib-dir works and --with-zlib doesn't? > :-) :-) :-) > > If you got it to work,

Re: [PHP] Pricing Advice Needed

2001-06-28 Thread elias
It all depends on your experience and knowledge. You know that if you're too experienced you can save lots of research and learning time. therefore you have to estimate how much does your hour cost and how much are you able to do. you can start by $20/hour... ""Alva Chew"" <[EMAIL PROTECTED]>

[PHP] Function

2001-06-28 Thread TV Karthick Kumar
Hi, Is there any function to replace a character in an Array ??. Thanx in adv. ~ Karthick -- 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

[PHP] Function

2001-06-28 Thread tvkarthick
Hi, Is there any function to replace a character in an Array ??. Thanx in adv. ~ Karthick. -- 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

Re[2]: [PHP] Auction PHP Solution?

2001-06-28 Thread Gianluca Baldo
Hi - MT> There was some development on PHP-Auction, I did a custom-rolled one for a MT> client but it's not like e-bay. Not yet! (just joking) - This is the status of phpauction: - we are finally near to the first stable release - the features are the basic feature needed by an auction package

Re: [PHP] Adding a line of text to every page PHP spits out

2001-06-28 Thread Delbono
you can use auto_prepend - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2001 9:51 PM Subject: [PHP] Adding a line of text to every page PHP spits out Hello, I want to have a DOC Type ate the top of ev

[PHP] $B:#F|$N;q6b7+$j$O(B

2001-06-28 Thread $B
$B!&!&!&(B $B:#F|$N;q6b7+$j$G$*:$$j$NJ}$O(B $B!&!&!&(B http://www.justinmail.net/ma01/pa01.htm $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&!&(B $B#1#0#0K|1_$^$G$4M;;qCW$7$^$9!#(B $BF|K\A49q!&:#F|Cf$K4V$K9g$$$^$9$N$G(B $B@h$

Re: [PHP] Pricing Advice Needed

2001-06-28 Thread Alva Chew
Thanks for the advice, what about charging by line of code? how does that apply? "elias" <[EMAIL PROTECTED]> wrote in message 9hes64$f3r$[EMAIL PROTECTED]">news:9hes64$f3r$[EMAIL PROTECTED]... > It all depends on your experience and knowledge. > You know that if you're too experienced you can sav

[PHP] problem with header()

2001-06-28 Thread Sheni R. Meledath
Hello: I am having a problem using the header() function. I am using this function in a script that is used to download files. When used, I am getting a blank page with some junk characters and some html code, that I haven't created. And in the location its showing the correct url. Details:

[PHP] Creating domain and default page

2001-06-28 Thread E K L
Hi all, Can anybody give me a guideline or idea on how to write a PHP scriot which is used to create a domain or sub-domain and a default page and a same time. My OS is Red Hat Linux 6.1. For example, in my program, when i press "activate' button, the script will create me a sub-domain

AW: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-28 Thread Sebastian Stadtlich
there is an option in php ini : session.referer_check = which should fit your needs not sure how to use it, but probably one of the php-developers on this list can assist... sebastian > -Ursprüngliche Nachricht- > Von: adam (dahamsta) [mailto:[EMAIL PROTECTED]] > Gesendet: Mittw

[PHP] Problem with Excel

2001-06-28 Thread Sharat Hegde
Hello, I have a web site on a Unix environment running PHP 3.0 and MySQL. I need to convert data in an Excel format to a MySQL database format periodically based on the input feed received in Excel format. the conversion to MySQL is not a problem at all. What I need help is to read data from an

Re: [PHP] [OT-ish] Optional Extras.

2001-06-28 Thread Mark Maggelet
I don't see how this is weighted. I would suggest doing it the easy way and treating the options as keywords and just putting them all in a text field with a fulltext index. this will give you the weighting you want and it will be a lot easier to deal with, but you will have to watch out for thin

Re: [PHP] PHP and Windows XP

2001-06-28 Thread Young C. Fan
""elias"" <[EMAIL PROTECTED]> wrote in message 9heq8k$e6$[EMAIL PROTECTED]">news:9heq8k$e6$[EMAIL PROTECTED]... > Why not? > if it works with WinME and PWS, I suppose it will with XP too. I was under the impression that XP is the next in line after Win 2000, not the 95/98/Me line. Young --

[PHP] pc/mac and ie/nav

2001-06-28 Thread Wilbert Enserink
Hi all,     does anybody know a good piece of script or has a good tip for me how to detect platform and browser of the client?   thanx in advance!   Wilbert - Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl [EMAIL PROT

[PHP] Image generation

2001-06-28 Thread Young C. Fan
Hi, I'd like to write some scripts that resize high-res jpegs and gifs into smaller jpegs and gifs. What are the best tools for doing this? I've heard of the GD library and ImageMagick. Which one is better? Are there others? I'll definitely have to generate gif's, so png support by itself isn't s

Re: [PHP] PHP Menu.

2001-06-28 Thread Les Neste
Here's some code to include in your HTML to create the popups.