RE: [PHP] Large URI request problem

2005-08-22 Thread Dean Maunder
The list of numbers is generated by calling an xml file which translates latitude and longitude into screen coordinates. This is done from the main file because this is where I need to draw the map and location points. The problem is in the createline.php which draws lines between the location p

Re: [PHP] Large URI request problem

2005-08-22 Thread Jasper Bryant-Greene
Dean Maunder wrote: My session variables are saved in a database, that's more than possible, tho the thought of saving a 3000char session variable in a table is a bit hairy :) Wouldn't worry me. It's a lot better than putting it in the URL :) The other thing I thought of is, how are you genera

Re: [PHP] Problem appending values to an object

2005-08-22 Thread Richard Lynch
On Mon, August 22, 2005 10:04 am, David Pollack wrote: > I have a database with two tables. One is a table of events and the > other is a table of locations. I'm creating a google map with the > table of locations and would like to list the events at each place. > I'm using mambo and the following

RE: [PHP] Large URI request problem

2005-08-22 Thread Dean Maunder
Just as a note, if I copy and paste the 'src' into my browser address bar, the image works fine, it only seems to be when its used inside the src tag. Hmmany ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Large URI request problem

2005-08-22 Thread Dean Maunder
My session variables are saved in a database, that's more than possible, tho the thought of saving a 3000char session variable in a table is a bit hairy :) -Original Message- From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 August 2005 3:48 PM To: php-general@lists.

Re: [PHP] PHP vs. ColdFusion

2005-08-22 Thread Richard Lynch
On Mon, August 22, 2005 12:03 pm, Robert Cummings wrote: > On Mon, 2005-08-22 at 14:16, Rick Emery wrote: >> >> "I read the following article and I wanted your feedback on it. >> http://www.ukuug.org/events/linux2002/papers/html/php/#section_6. I I only read half-way through it... His first thesi

Re: [PHP] Files passing through

2005-08-22 Thread Richard Lynch
On Mon, August 22, 2005 12:30 pm, Evert | Rooftop wrote: > I want to use a PHP script to pass through a file to the browser [ > right > after some processing ]. > What is the fastest way to do this? I know > echo(file_get_contents('myfile')); is not a good idea ;) Actually, it's a Fine Idea *IF* t

Re: [PHP] PHP Printing Error Help

2005-08-22 Thread Richard Lynch
On Mon, August 22, 2005 12:56 pm, Chirantan Ghosh wrote: > //[snip] >> You probably want to move into the relm of array's. For each one of >> your >> checkboxes, you can do this... >> >> > value="1-877-HOMECASH"> > /[/snip] > > I did look up ARRAY. I just didn't understan

Re: [PHP] Resizing thumbnails to the browser

2005-08-22 Thread Richard Lynch
On Mon, August 22, 2005 2:32 pm, Dan Trainor wrote: > Would the abovementioned use of ForceType also allow one to produce an > image given an HTTP GET query? I was tinkering around with something > in > the past where I wanted to implement something such as: > > http://example.com/myscript.php?sit

Re: [PHP] Large URI request problem

2005-08-22 Thread Jasper Bryant-Greene
Dean Maunder wrote: Hi, I have a large string that I need to send to a script that creates an image. eg tag. What you could do, however, is put the data in a session variable and access it in the createimage.php file. Only thing I can think of, however, is that the createimage.php file migh

[PHP] Large URI request problem

2005-08-22 Thread Dean Maunder
Hi, I have a large string that I need to send to a script that creates an image. eg

Re: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-22 Thread Larry Brown
I found that the only way to get the function to behave is to add the key... foreach($multiarray as $key=>$subArray) Now it displays as it previously did where $subArray is concerned. Is there something I'm missing here? Was I the only person not using "keys"? On Mon, 2005-08-22 at 21:28, Larr

[PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-22 Thread Larry Brown
I had a foreach loop working on an array as such: $multiarray = array(array('person','person'),array('another','another')) the array was put through foreach($multiarray as $subArray){ do something with array } on each loop I would see $subArray= array([0] = 'person',[1] = 'person') and then $

Re: [PHP] Files passing through

2005-08-22 Thread Jasper Bryant-Greene
Kevin Waterson wrote: This one time, at band camp, Philip Hallstrom <[EMAIL PROTECTED]> wrote: My guess would be because file_get_contents returns the contents as a string. So if 'myfile' is 100mb, you're going to have to allocate 100mb of memory to store that string while echo() spits it ba

Re: [PHP] Files passing through

2005-08-22 Thread Kevin Waterson
This one time, at band camp, Philip Hallstrom <[EMAIL PROTECTED]> wrote: > My guess would be because file_get_contents returns the contents as a > string. So if 'myfile' is 100mb, you're going to have to allocate 100mb > of memory to store that string while echo() spits it back out. > > But I'

Re: [PHP] Resizing thumbnails to the browser

2005-08-22 Thread Dan Trainor
Jasper Bryant-Greene wrote: > Dan Trainor wrote: > >> Would the abovementioned use of ForceType also allow one to produce an >> image given an HTTP GET query? I was tinkering around with something in >> the past where I wanted to implement something such as: >> >> http://example.com/myscript.php?

Re: [PHP] Files passing through

2005-08-22 Thread Philip Hallstrom
What is the fastest way to do this? I know echo(file_get_contents('myfile')); is not a good idea ;) Why not? My guess would be because file_get_contents returns the contents as a string. So if 'myfile' is 100mb, you're going to have to allocate 100mb of memory to store that string while ech

Re: [PHP] Resizing thumbnails to the browser

2005-08-22 Thread Jasper Bryant-Greene
Dan Trainor wrote: Would the abovementioned use of ForceType also allow one to produce an image given an HTTP GET query? I was tinkering around with something in the past where I wanted to implement something such as: http://example.com/myscript.php?site=1&image=2&something=3";> Would what you

Re: [PHP] Files passing through

2005-08-22 Thread Kevin Waterson
This one time, at band camp, Evert | Rooftop <[EMAIL PROTECTED]> wrote: > What is the fastest way to do this? I know > echo(file_get_contents('myfile')); is not a good idea ;) Why not? Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb

Re: [PHP] Resizing thumbnails to the browser

2005-08-22 Thread Dan Trainor
Richard Lynch wrote: > On Sun, August 21, 2005 3:04 pm, Murray @ PlanetThoughtful wrote: > >>I have a series of thumbnails on my site of photos I've taken that are >>all >>150px in width, but of variable height. I want to randomly display one >>of >>the thumbnails each time the home page of my sit

RE: [PHP] Re: PHP vs. ColdFusion

2005-08-22 Thread Jay Blanchard
[snip] ...tons of good stuff... [/snip] As long as we are doing stats; tblClass10 187,607,026 MyISAM 54.4 GB tblClass11 293,357,128 MyISAM 136.0 GB 20 table(s) Sum 500,681,774 --202.4 GB This is fun, on a BSD box, w/dual Xeon processors...ALL report handling a

[PHP] Re: PHP vs. ColdFusion

2005-08-22 Thread Dan Baker
"Rick Emery" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Quoting Rick Emery <[EMAIL PROTECTED]>: > >> My employer has (finally) decided to take full advantage of our intranet, >> and wants to move from client-server applications to web-based >> applications. > > [snipped] > >>

Re: [PHP] Hardware Detection

2005-08-22 Thread Rory Browne
Assuming that you are running a web app then, I concour with Richard. If however you are talking about a client in a more traditional sense, in that you have a specific client application, then that client application could get the computers hard disk, in the same way as any other application cou

Re: [PHP] AJAX coding and Sesisons

2005-08-22 Thread Kim Steinhaug \(php list\)
I have done this quite a few times lately, you shouldn't worry. Just have your session_start() and login security on the pages that you access with javascript aswell, they will have the same security as any other page. The sessionID is used for all requests to the server from the webbrowser, al

Re: [PHP] session_start(), Pragma and Cache-control headers

2005-08-22 Thread Kim Steinhaug \(php list\)
I solved the problem after a while, seems it had been reacently debated in the bug pages within php, to remove headers which are added by the session_start(); you can add the following : ini_set('session.use_cookies', false); session_cache_limiter(''); Kind regards, Kim Steinhaug - - - - - - - -

[PHP] [NEWBIE GUIDE] For the benefit of new members

2005-08-22 Thread Jay Blanchard
= Please feel free to add more points and send to the list. 20050322jb - Note the new location of PHP Editors list. = 1. If you have any queries/problems about PHP try http://www.php.ne

[PHP] AJAX coding and Sesisons

2005-08-22 Thread Bret Walker
I'm authoring a web app, and I want to use some AJAX functionality. The users log in via PHP, and they are verified page to page by a session variable (which stores their username). I want to write some PHP that alters a database, but I want to be sure that only authorized users can access the pa

Re: [PHP] PHP Printing Error Help

2005-08-22 Thread Chirantan Ghosh
Hi John, //[snip] You probably want to move into the relm of array's. For each one of your checkboxes, you can do this... /[/snip] I did look up ARRAY. I just didn't understand how I can insert a table( "InterestedNumber") in an arrey so I could put something lik

Re: [PHP] PHP vs. ColdFusion

2005-08-22 Thread Jay Paulson
I've been coding in PHP since version 3 and I actually sold a telecommunications company to use it for their HUGE intranet back in 2000 (right before they went out of business in North America). They wanted to use Java and I talked them out of it for the simple fact that PHP was so easy to use

[PHP] Files passing through

2005-08-22 Thread Evert | Rooftop
Hi People, I want to use a PHP script to pass through a file to the browser [ right after some processing ]. What is the fastest way to do this? I know echo(file_get_contents('myfile')); is not a good idea ;) Is fpassthrough the right choice? maybe virtual, so it won't go through php but apac

Re: [PHP] Re: Looking for CMS advice

2005-08-22 Thread Esteamedpw
>"the CMS formerly known as Mambo" Yeah, I was reading about that last night... Interesting stuff lol Interesting future ahead as well. - Clint

Re: [PHP] Updating Multiple rows with Combo Box! *SOLVED*

2005-08-22 Thread Rahul S. Johari
Ave, Solved it! Echoing the results out instead of trying out Queries really helped. What I was basically doing wrong was, I did create an Array for the Values, but I needed to also create an Array for the ID's for each records, which I hadn't. This is the code I used for generating the Select

Re: [PHP] PHP vs. ColdFusion

2005-08-22 Thread Robert Cummings
On Mon, 2005-08-22 at 14:16, Rick Emery wrote: > > "I read the following article and I wanted your feedback on it. > http://www.ukuug.org/events/linux2002/papers/html/php/#section_6. I Just another small comment on this... It's interesting to note that the author headlines the specific section a

RE: [PHP] PHP vs. ColdFusion

2005-08-22 Thread Robert Cummings
On Mon, 2005-08-22 at 14:51, Alan Fullmer wrote: > So pardon me butting in on this conversation.. > > I was completely unaware that you were able to do separate php.ini files. > > I did know you could do things through htaccess, etc. Is there a way to do > this separately in http.conf? with v

Re: [PHP] PHP vs. ColdFusion

2005-08-22 Thread Robert Cummings
On Mon, 2005-08-22 at 14:16, Rick Emery wrote: > > http://www.ukuug.org/events/linux2002/papers/html/php/#section_6 Wow, that sure is a crock of FUD bullshit. I'll answer in order of appearance, I don't want to quote in case of copyright issues. 1. Most interesting settings in php.ini can be set

RE: [PHP] PHP vs. ColdFusion

2005-08-22 Thread Jay Blanchard
[snip] Anybody care to provide words of wisdom to me before I meet with her? I hate doing this, as I'm sure everybody has better things to do, but I *really* want to sell PHP. [/snip] 6. When to Use PHP [snip] How much control will you have over the deployment platform? PHP's one-size-fits-all

Re: [PHP] PHP vs. ColdFusion

2005-08-22 Thread Rick Emery
Quoting Rick Emery <[EMAIL PROTECTED]>: My employer has (finally) decided to take full advantage of our intranet, and wants to move from client-server applications to web-based applications. [snipped] Any input would be greatly appreciated. Opinions are welcome (especially from programmers

[PHP] Problem appending values to an object

2005-08-22 Thread David Pollack
I have a database with two tables. One is a table of events and the other is a table of locations. I'm creating a google map with the table of locations and would like to list the events at each place. I'm using mambo and the following query to get the data... $query2 = "SELECT #_

[PHP] session_start(), Pragma and Cache-control headers

2005-08-22 Thread Kim Steinhaug \(php list\)
Hello, I'm working on a downbload script which serves M3U files (Winamp playlist files) through a PHP file like this : somepath/download.m3u.php?id=2 Then in the PHP script I generate the M3U file, and serve up the headers I want. Swell so far, but a little problem appears. The downloads are fo

Re: [PHP] Re: error while running com

2005-08-22 Thread tg-php
Showing your code might be useful but taking a shot in the dark here, I'm guessing that after a while, you have too many instances of Word still instantiated. I remember there being an issue when using COM where the application wouldn't quit properly. Try using $appinst->Quit() as well as $app

[PHP] Re: error while running com

2005-08-22 Thread mikespook
Could u show me ur source code? ""sangram"" <[EMAIL PROTECTED]> ??:[EMAIL PROTECTED] > Hi, > i had uploaded the com application on win2003 server with word 2003 > installed.It runs perfect The traffic of word files increases or other > reasons the following message starts displaying. > > Warn

Re: [PHP] php vulnerability

2005-08-22 Thread Chris Martin
You might also scan your machine (and/or network) with something such as nessus, or another vulnerability scanner -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] preg_match

2005-08-22 Thread Robin Vickery
On 8/22/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Sat, August 20, 2005 5:00 am, John Nichel wrote: > > Personally, I have never used \\ in PCRE when looking for things like > > spaces (\s), word boundraries (\b), etc. and it's all worked out fine. > > Personally, { > I > } have > never {

Re: [PHP] php vulnerability

2005-08-22 Thread Rory Browne
On 8/22/05, Ryan A <[EMAIL PROTECTED]> wrote: > > > > If you > > don't have the ability to do this yourself, you can hire > > someone to do a code audit for you. Chris Shiflett (brainbulb.com) I > > believe provides this service. > > > Chris is a dude who has helped me and a lot of others dozen

Re: [PHP] Load testing

2005-08-22 Thread Robin Vickery
On 8/22/05, Chris Boget <[EMAIL PROTECTED]> wrote: > What do you guys use for load testing forms? I've just been opening > seperate > windows, navigating to the form, filling out the form on all windows and > hitting > the submit button at the same time. After about 15 or so windows, it > starts

[PHP] Load testing

2005-08-22 Thread Chris Boget
What do you guys use for load testing forms? I've just been opening seperate windows, navigating to the form, filling out the form on all windows and hitting the submit button at the same time. After about 15 or so windows, it starts to become a bit cumbersom. Do you guys load test? What do you

Re: [PHP] Special HTML characters question.

2005-08-22 Thread Jordan Miller
Did you try html_entity_decode? http://us2.php.net/html_entity_decode You may want to combine this with mysql_real_escape_string()...? Jordan On Aug 22, 2005, at 8:29 AM, Jay Paulson wrote: I have a problem that I'm sure some of you have run into before, therefore I hope you all know of an

Re: [PHP] Special HTML characters question.

2005-08-22 Thread Shafiq Rehman
Hi, Here are two routines for your problem. function htmlentities2($myHTML) { $translation_table=get_html_translation_table (HTML_ENTITIES,ENT_QUOTES); $translation_table[chr(38)] = '&'; return preg_replace("/&(?![A-Za-z]{0,4}\w{2,3};|#[0-9]{2,3};)/","&" , strtr($myHTML, $translation_table)); }

Re: [PHP] Special HTML characters question.

2005-08-22 Thread Jay Paulson
by the way, you probably don't want to do the conversion *inbound* to the database. rather, store the original and do the conversion outbound - specific and appropriate for the output display. if you do it inbound you'll have the html encodings (rather than the actual ("special") characters) stor

Re: [PHP] Special HTML characters question.

2005-08-22 Thread Jay Paulson
Thanks for the reply. I would imagine there are a lot of special html characters that would need to be changed using regex. Therefore, spending my time making a regex to find a replace each one of them isn't a good way to spend my time or even if I did go that route I'm sure it's uses too muc

RE: [PHP] Updating Multiple rows with Combo Box!

2005-08-22 Thread Jay Blanchard
[snip] >YES >NO >On Hold But none of my Queries are working. What I want to do is, when the form is submitted, it should just simply update the Œhired¹ field with whatever value has been selected for that row in the Combo Box. [/snip]

[PHP] Re: [PHP-DEV] 5.0.5 download URL

2005-08-22 Thread Edin Kadribasic
The Windows binaries are available at: http://downloads.php.net/edink/php-5.0.5RC1-Win32.zip http://downloads.php.net/edink/pecl-5.0.5RC1-Win32.zip Edin Zeev Suraski wrote: > By popular demand, you can now get these binaries at > http://downloads.php.net/zeev/php-5.0.5RC1.tar.gz > http://downlo

RE: [PHP] how to know when a php library is installed

2005-08-22 Thread Miguel Guirao
Or phpinfo() -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Domingo, 21 de Agosto de 2005 06:15 a.m. To: php-general@lists.php.net Subject: Re: [PHP] how to know when a php library is installed On 8/21/05, Lizet Pena de Sola <[EMAIL PROTECTED]> wrote: > I need to

RE: [PHP] Updating Multiple rows with Combo Box!

2005-08-22 Thread Jay Blanchard
[snip] register_globals are On. I think the problem lies in the fact that I'm trying to update multiple rows in the table, I'm not sure that my query with the UPDATE statement is updating all the rows with what is being set in the value of the Form Field. I'm not sure. [/snip] Echo the query befo

Re: [PHP] build sql query struture and values from form fields

2005-08-22 Thread Jordan Miller
I agree, you must be careful of SQL injection... use mysql_real_escape_string(). To chop off the last character of text use substr(): $sqlstruct = substr($sqlstruct, 0, -1); Jordan http://www.php.net/substr Example 3. Using a negative length On Aug 20, 2005, at 4:55 PM, Greg Donald wro

Re: [PHP] Updating Multiple rows with Combo Box!

2005-08-22 Thread Rahul S. Johari
Ave, register_globals are On. I think the problem lies in the fact that I'm trying to update multiple rows in the table, I'm not sure that my query with the UPDATE statement is updating all the rows with what is being set in the value of the Form Field. I'm not sure. On 8/22/05 9:39 AM, "Jay Bl

RE: [PHP] Special HTML characters question.

2005-08-22 Thread Jay Blanchard
[snip] I have a problem that I'm sure some of you have run into before, therefore I hope you all know of an easy solution. Some of my users are cutting and pasting text from Word into text fields that are being saved into a database then from that database being displayed on a web page. The p

[PHP] imagecreatefromstring

2005-08-22 Thread Ross
Hi, i am trying this out of curiosity and get sme errors My gd extension is set up in the correct folder. This is my script header("Content-type: image/png"); $string = 'hello'; $im= imagecreatefrompng("images/button1.png"); $orange = imagecolorallocate($im, 220, 210, 60); $px= (imagesx

RE: [PHP] Updating Multiple rows with Combo Box!

2005-08-22 Thread Jay Blanchard
[snip] I guess the last query I tried was simply updating the database with the value of the Hired form field: $sql = "UPDATE contactdata SET hired='$hired' WHERE ID='$thisID'"; $result = mysql_query($sql) or DIE("Fatal Error: ".mysql_error()); I've tried using an array and running the q

Re: [PHP] Updating Multiple rows with Combo Box!

2005-08-22 Thread Rahul S. Johari
Ave, I guess the last query I tried was simply updating the database with the value of the Hired form field: $sql = "UPDATE contactdata SET hired='$hired' WHERE ID='$thisID'"; $result = mysql_query($sql) or DIE("Fatal Error: ".mysql_error()); I've tried using an array and running the q

[PHP] Special HTML characters question.

2005-08-22 Thread Jay Paulson
I have a problem that I'm sure some of you have run into before, therefore I hope you all know of an easy solution. Some of my users are cutting and pasting text from Word into text fields that are being saved into a database then from that database being displayed on a web page. The problem

Re: [PHP] php vulnerability

2005-08-22 Thread Ryan A
> If you > don't have the ability to do this yourself, you can hire > someone to do a code audit for you. Chris Shiflett (brainbulb.com) I > believe provides this service. Chris is a dude who has helped me and a lot of others dozens of times on this list as he is a regular contributer to this l

[PHP] Updating Multiple rows with Combo Box!

2005-08-22 Thread Rahul S. Johari
Ave, I have a table with one of the fields ³hired² having either of 3 values: YES, NO, NULL My application provides the administrator with all the records in the table and I need to give him the ability to change the status of ³hired² to either of the three values. Previously I was using a Check

RE: [PHP] imagecreatefromstring

2005-08-22 Thread Jay Blanchard
[snip] This is my script header("Content-type: image/png"); $string = 'hello'; $im= imagecreatefrompng("images/button1.png"); $orange = imagecolorallocate($im, 220, 210, 60); $px= (imagesx($im) - 7.5 * strlen($string)) / 2; imagestring($im, 3, $px, 9, $string, $orange); imagepng($im); imag

Re: [PHP] php vulnerability

2005-08-22 Thread Rory Browne
On 8/22/05, Shafiq Rehman <[EMAIL PROTECTED]> wrote: > Hi all, > > Thanx to all of you. My server is running on Linux and there is not any > phpbb running on it. If vulnerability is in my code.. Is there any way that > I can find the buggy code on my server which allowed that trojan to write > int

Re: [PHP] Re: Problem between php4.4 and mysql

2005-08-22 Thread Alex Scott
Thanks for all your help. Problem was that Up2date had installed php 4.3.2 onto our server and compiled no support for MySQL into Apache. I was getting no error messages, so it was only when I saw phpinfo() that I realised that the version had changed. Alex. On Mon, 22 Aug 2005 10:55:06 +120

Re: [PHP] Looking for CMS advice

2005-08-22 Thread Shafiq Rehman
Hey Michael, Visit the site for excellent open source CMS http://www.ez.no Regards -- *** phpgurru.com [A php resource provider] *** \\\|/// \\ - - // ( @ @ ) PHP is too logical for my brain +---oOOo-(_)-oOOo--+ | Mian Shafiq ur Reh

Re: [PHP] imap_open hangs...

2005-08-22 Thread Michael Baas
> Thanks Buran, ..and apologies for mis-spelling your name, Burhan ;) Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for CMS advice

2005-08-22 Thread Erik Gyepes
Zachary Kessin wrote: I am about to start on a project that seems like it would be right for a CMS system. It will be about 80% rather boring stuff with about 20% custom database work. I have looked at XOOPS and a few others. However I can not seem to find one rather important thing about XOOP

Re: [PHP] Looking for CMS advice

2005-08-22 Thread Erik Gyepes
Zachary Kessin wrote: I am about to start on a project that seems like it would be right for a CMS system. It will be about 80% rather boring stuff with about 20% custom database work. I have looked at XOOPS and a few others. However I can not seem to find one rather important thing about XOOP

[PHP] Re: Looking for CMS advice

2005-08-22 Thread Michael Baas
Like Clint, I definitely recommend Mambo. Or, to be precise: "the CMS formerly known as Mambo". Recently a split has happened between the core-developers who will continue to develop the system (with much support from the community) - see the new website at http://www.opensourcematters.org/ - and b

Re: [PHP] imap_open hangs...

2005-08-22 Thread Michael Baas
Thanks Buran, > 1. Connection is timing out, and the time limit expired. We're only connecting to locahost here, sorry, forgot to mention. > 2. Firewall is blocking connections The ISP claims to support imap_open for POP3 and ISP, so I would expect him to have sorted that one out. > Other conn

Re: [PHP] imap_open hangs...

2005-08-22 Thread Burhan Khalid
Michael Baas wrote: Hi, I have a script which works fine for many users, but for some it doesn't. I've been able to narrow it down to the imap_open-Command which just hangs 'forever'. I have verified that the imap-extensions are available, but other than that I have no ideas what's going on ther

[PHP] imap_open hangs...

2005-08-22 Thread Michael Baas
Hi, I have a script which works fine for many users, but for some it doesn't. I've been able to narrow it down to the imap_open-Command which just hangs 'forever'. I have verified that the imap-extensions are available, but other than that I have no ideas what's going on there, why it would not re

Re: [PHP] php vulnerability

2005-08-22 Thread Jasper Bryant-Greene
Shafiq Rehman wrote: Thanx to all of you. My server is running on Linux and there is not any phpbb running on it. If vulnerability is in my code.. Is there any way that I can find the buggy code on my server which allowed that trojan to write into all the index files. To start with, take a lo

Re: [PHP] php vulnerability

2005-08-22 Thread Shafiq Rehman
Hi all, Thanx to all of you. My server is running on Linux and there is not any phpbb running on it. If vulnerability is in my code.. Is there any way that I can find the buggy code on my server which allowed that trojan to write into all the index files. I analyzed the apache logs but did not

[PHP] imagestring to picture

2005-08-22 Thread Andras Kende
Hello, I have a some colorful pictures, Would like to add white text with black background around the white text... I can add the text fine but could figure out how to add black background.. $textcolor = imagecolorallocate($destimg, 255, 255, 255); imagestring($destimg, 3, 10, 10, "test text",

Re: [PHP] php vulnerability

2005-08-22 Thread Torgny Bjers
Shafiq Rehman wrote: > My server was hacked last week and the message displayed on home page was > "spy kidz owns your server". I researched on internet and found that this is > some kind of trojan which infects the *.index files. It penetrate from HTTP. > Some paople were saying that there is v