RE: [PHP] =.jpg from another URL with PHP=

2002-10-12 Thread John W. Holmes
Two things: 1. You're not sending an image/jpg header() in your image file. The browser won't know what kind of data it's receiving. 2. You need to reference your image in the img tag through a web server, that way the PHP code is parsed. img src=http://www.yourdomain.com/make_image.php or even

Re: [PHP] =.jpg from another URL with PHP=

2002-10-12 Thread Chris Shiflett
Anthony, A web page that has embedded objects such as images is comprised of several different things entirely. Your method was to write the binary content that makes up an image in the same place as your HTML. So, you will see what looks like garbage, just as you would if you opened an

RE: [PHP] simple array in mysql

2002-10-12 Thread John W. Holmes
What's the 'normal' way of storing array values in mysql table? I like to store one letter of each word in its own table and reference that back to the key of the array which will reference a flat file that stores each key and the file that will store the data for that key on the backup

[PHP] simple array in mysql

2002-10-12 Thread tim tom
What's the 'normal' way of storing array values in mysql table? -- tim __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP caching ideas?

2002-10-12 Thread Hans Himmel
Hello there, How do most people here create their caching logic for PHP scripts? The problem is that most PHP scripts have some part of the page that is unique to each request (let it be current time, e-mail list in an e-mail reading application, session IDs on some servers, or whatever). Is

[PHP] Convert comma-delimited file or form into arrays

2002-10-12 Thread YC Nyon
I want to convert input data below (either from a webpage form or a uploadedtext file) to a set of arrays. The final step is to construct SQL statements to be inserted into Postgresql db (which i can do). Anyone got sample scripts that does the 1st part. ID, Name, Telephone 1, John, 34343534

[PHP] Re: Odd request

2002-10-12 Thread Noodle Snacks
Shawn McKenzie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Probably a question for the php dev team, but here it goes. I want to display an external page in an iframe and have the iframe auto sized to fit the content without having scroll bars. I've tried

Re: [PHP] An small SQL problem

2002-10-12 Thread Davy Obdam
Hi Christian, I am not 100% sure cos i am doing this from my head but your SELECT query would have to look like this: SELECT TableA.FieldA2 FROM TableA, TableB WHERE TableA.FieldA1 != TableB.FieldB2 btw. Wouldn`t be easier to use more informative Table and Field names..? Hope it works, Best

[PHP] Re: Object-relational mapping and PHP

2002-10-12 Thread Manuel Lemos
Hello, On 10/11/2002 11:31 AM, Juhan Kundla wrote: I am planning to write a small web application using PHP. The application has several business classes, which store their persistent data in relational database. I don't like the idea of embedding the SQL and other data access related code

Re: [PHP] WinAMP Plugin Question

2002-10-12 Thread Andrew Brampton
You could create a PHP script on your webserver that pulls the info from your machine, parses it and then re-displays it in the way you like. This way people won't actually know your IP,. and all the processsing will be done on your webserver. If you want to allow them to download your MP3s, you

Re: [PHP] An small SQL problem

2002-10-12 Thread Brad Bulger
what database are you using? because the answer is different, depending. on postgres, for example, which supports subselects, you can do select * from TableA where FieldA1 not in (select FieldB2 from TableB) with mysql, there are no subselects, so you'd have to do something like select

Re: [PHP] =.jpg from another URL with PHP=

2002-10-12 Thread Anthony Ritter
John, Thank you. Such as this? .. HTML HEAD BODY This is a test. BR IMG SRC=http://localhost/Map.php; /BODY /HTML .. The output now has both the map and the text. However - being a novice - I'm not sure of: 1.

Re: [PHP] Convert comma-delimited file or form into arrays

2002-10-12 Thread @ Edwin
Hello, You can use the fgetcsv() function (for uploaded text files). http://www.php.net/manual/en/function.fgetcsv.php - E On Saturday, October 12, 2002 2:37 AM YC Nyon wrote: I want to convert input data below (either from a webpage form or a uploadedtext file) to a set of arrays. The

Re: [PHP] fgetcsv or other

2002-10-12 Thread @ Edwin
Hello, Just remember that fgetcsv() returns an array. So the first column is $thearray[0]; You can just pass it to the function that generates the image BEFORE you go to the next line of your csv file. Or, am I missing something? - E On Saturday, October 12, 2002 2:05 AM Bryan Koschmann

[PHP] a Question of Returning References

2002-10-12 Thread Ns_Andy
eg function A() {.. What does mean here? I've the reference seen ,but I still don't understand too much. Can anyone give me more examples of Returning References? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] upgrade problems

2002-10-12 Thread Brad Bonkoski
http://www.php.net/manual/sv/printwn/language.variables.predefined.php -or this- quote from the docs In PHP 4.2.0 and later, the default value for the PHP directive register_globals is off. This is a major change in PHP. Having register_globals off affects the set of predefined variables

[PHP] Boolean Search Interpreter

2002-10-12 Thread SpamSucks86
Is there an algorithm in PHP or pseudo-code, or any other language that could help me write an algorithm to take a Boolean search string and parse it and convert it into SQL? I can convert it to SQL just fine, I just need help parsing the string and figuring out what they want (AND, NOT, OR).

[PHP] Re: upgrade problems

2002-10-12 Thread abw
Thanks Brad! Dead on! Unfortunately, after the upgrade, the old php.ini was not saved, so I couldn't compare what the former employee changed in there. I turned that option on, restarted apache, and it worked. Aaron This should be a FAQ! I would say it would point to register globals

[PHP] what does _\\_ mean?

2002-10-12 Thread Ns_Andy
I ,beginner of PHP, would like to ask what _\\_ means? Here's the code: $fp = fopen (a.txt) while ($buf = fgets($fp,1024) { trim($buf) if (substr($buf,-1 == _\\_) { . .. with the above code Two or more lines ended with \ will be joined, for example, aa\ a become , aaa --

[PHP] An small SQL problem

2002-10-12 Thread Christian Ista
Hello, I'm probably sleepy because I can't do a very easy query. :( I have 2 tables TableA(FieldA1, FieldA2, FieldA3) and TableB(FieldB1, FieldB2, FieldB3). I'd like to see the TableA records (FieldA2) where the FieldA1(Primary key) not exist in TableB(FieldB2). I tried not exists without

[PHP] XML-RPC

2002-10-12 Thread jacob
Has anyone on this list had any experience with XML-RPC and, more specifically, any experience using it with PHP? XML-RPC: http://xml-rpc.org w/ PHP: http://xmlrpc-c.sourceforge.net/xmlrpc-howto/xmlrpc-howto-php.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Best Forum System

2002-10-12 Thread Jason Reid
phpBB all the way for me. Used it on a few sites, worked fine for my uses. Jason Reid [EMAIL PROTECTED] -- AC Host Canada www.achost.ca - Original Message - From: Stephen [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Friday, October 11, 2002 7:13 PM Subject: Re: [PHP] Best

php-general Digest 12 Oct 2002 11:18:03 -0000 Issue 1639

2002-10-12 Thread php-general-digest-help
php-general Digest 12 Oct 2002 11:18:03 - Issue 1639 Topics (messages 119698 through 119727): Re: Best Forum System 119698 by: Jeff Lewis 119704 by: Paul Nicholson 119707 by: Stephen 119708 by: Jason Reid 119717 by: Paul Nicholson XML-RPC

RE: [PHP] Mysql not functioning after upgrade to 4.2.3

2002-10-12 Thread Timothy Hitchens
I am just recompiling against your config for you to see for myself... sometimes I find it helps to compile the cgi or cli version ..eg remove the apxs config then do a listing of modules compiled in from the shell... Won't be long... Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has

[PHP] Mysql not functioning after upgrade to 4.2.3

2002-10-12 Thread Jeff Schwartz
I just upgraded from 4.1.2 to 4.2.3 and now receive an undefined function error when running mysql_pconnect() or mysql_connect(). I used the same configure script as before and the Configure Command from phpinfo (below) includes Mysql. However, there's no longer a Configuration area showing

[PHP] PHP not reporting errors, but hangs!!

2002-10-12 Thread Siva Kumar
I am running Apache/PHP with Postgresql. For the past one day, whenever there is an error in the php script, instead of reporting the error, the page takes forever to load. Normal html pages load properly. Can someone points me to the right direction on how to fix this. Best regards Siva

[PHP] How to navigate backwards in PHP ???

2002-10-12 Thread -[ Rene Brehmer ]-
This is really puzzling me ... I've tried finding the answer in the manual ... but sofar without luck... What I need to is simply to be able to make a go-back link that points to the URL that contains the page that had the link that send the user to the current page ... (did that make sense?)

[PHP] Odd request

2002-10-12 Thread Shawn McKenzie
Probably a question for the php dev team, but here it goes. I want to display an external page in an iframe and have the iframe auto sized to fit the content without having scroll bars. I've tried javascript to no avail. So here's my idea: 1. Instead of iframe: $string =

Re: [PHP] Best Forum System

2002-10-12 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Give them time.they've only been at it for less than 6 months. That's the fastest I've seen a board developed and the clean code(security checks are in place) at that. And skinning isn't all that bad. It's also the fastest forum software I've

RE: [PHP] Odd request

2002-10-12 Thread Smith, Benjamin
No, there isn't, and no, there probably shouldn't be, since the height in pixels that the page will render in is dependent on client-side attributes like font size, resolution, browser type, etc. This might be an appropriate function in javascript, but not php. Any way in php to determine

Re: [PHP] Re: upgrade problems

2002-10-12 Thread Brad Bonkoski
No Problem... Of course it may be wise to set something up on a back-up/non-production type machine to not rely on that variable (register globals=on) as it is a security risk! Anyone can set variables via HTTP information that could cause some problems with your code. With the option off you

RE: [PHP] Mysql not functioning after upgrade to 4.2.3

2002-10-12 Thread Timothy Hitchens
What Unix? and Version? Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Jeff Schwartz [mailto:[EMAIL PROTECTED]] Sent: Saturday, 12 October 2002 9:40 AM To: PHP List Subject: [PHP] Mysql not functioning after upgrade to 4.2.3 I just

[PHP] Re: How to navigate backwards in PHP ???

2002-10-12 Thread Shawn McKenzie
$HTTP_SERVER_VARS[HTTP_REFERER]; - or - PHP 4.1.0 and later $_SERVER[HTTP_REFERER]; Not as reliable as passing it yourself though. HTH -Shawn -- [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This is really puzzling me ... I've tried finding the answer in the

[PHP] Re: How to navigate backwards in PHP ???

2002-10-12 Thread Anup
Well, if you have control for the referring page, then create a hidden value whose value is the URL. Then you can use that. The problem is that PHP is a server-side language not a client-side (like JS), so PHP has no control over the browser. -- [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] Best Forum System

2002-10-12 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, I use ibforums(http://www.ibforums.com/)100% OO php and its FREE. ~Pauly On Friday 11 October 2002 05:36 pm, Stephen wrote: Hello, I know there will be a load of different responses but I'm after the most frequent one. What exactly is

Re: [PHP] Best Forum System

2002-10-12 Thread Jeff Lewis
YaBB SE seems to do quite well, I have it running on three sites. http://www.yabb.info Jeff - Original Message - From: Stephen [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Friday, October 11, 2002 5:36 PM Subject: [PHP] Best Forum System Hello, I know there will be a load

[PHP] WinAMP Plugin Question

2002-10-12 Thread eriol
I was wondering if anyone has tried or would know how to take my mp3 collection listing from SpyAMP (http://spyamp.sf.net) and incorporate it into my site (which is on a different server and not on my home network) and have guests be able to download songs assuming I have it running? I want to

[PHP] Best Forum System

2002-10-12 Thread Stephen
Hello, I know there will be a load of different responses but I'm after the most frequent one. What exactly is the best forum system out there? I'm mainly after a PHP one but a Perl or CGI one will do just fine. Thanks! Thanks, Stephen Craton http://www.melchior.us http://php.melchior.us

Re: [PHP] Best Forum System

2002-10-12 Thread Stephen
I'd use that but the skinning difficulty compared to others is just down right horrible... - Original Message - From: Paul Nicholson [EMAIL PROTECTED] To: Stephen [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Friday, October 11, 2002 6:58 PM Subject: Re: [PHP] Best Forum System