Search found 33 matches
- Mon May 07, 2007 5:25 am
- Forum: PHP - Code
- Topic: imagecreatefromgif() timing out
- Replies: 4
- Views: 749
- Sun May 06, 2007 2:06 pm
- Forum: PHP - Code
- Topic: imagecreatefromgif() timing out
- Replies: 4
- Views: 749
I am pretty sure it isnt the code, I have tried it on numerous other images, such as Google's logo, and it works fine. <?php /** * Generated an overlay onto a template * @author Zu * @version 0.2 * @package ImageManipulation */ class GenerateOverlayImage { /** * The URL of the original image * @acce...
- Sun May 06, 2007 1:42 pm
- Forum: PHP - Code
- Topic: imagecreatefromgif() timing out
- Replies: 4
- Views: 749
imagecreatefromgif() timing out
Okay, I am trying to manipulate an external image, however the script keeps timing out resulting in the file saying: "The image “uptime.gif” cannot be displayed, because it contains errors.". The image I am trying to load though imagecreatefromgif() is http://www.webhostingstuff.com/uptime...
- Thu May 03, 2007 1:42 pm
- Forum: PHP - Code
- Topic: Detecting Broadband?
- Replies: 69
- Views: 12836
Apart from the fact that, you know, it redirects youneel_basu wrote:haha
Oh! I see Nice mischief you have directly Entered into http://www.indoservices.org/skillbound/ ... bps=262144
Not http://www.indoservices.org/skillbound/spd.php
- Thu May 03, 2007 12:50 pm
- Forum: PHP - Code
- Topic: Detecting Broadband?
- Replies: 69
- Views: 12836
- Thu May 03, 2007 8:05 am
- Forum: PHP - Code
- Topic: Detecting Broadband?
- Replies: 69
- Views: 12836
- Wed May 02, 2007 8:06 am
- Forum: General Discussion
- Topic: Adobe reader alternate download
- Replies: 9
- Views: 1244
I use FoxIt (when I am rarely on PC's). Adobe Reader is so bloated nowadays I avoid it like the plague.
- Mon Apr 30, 2007 9:56 am
- Forum: PHP - Security
- Topic: Login System
- Replies: 3
- Views: 1702
What would happen if, say, $uid contained:
mysql_real_escape_string()
Code: Select all
evil_user'; DROP TABLE usr;--- Mon Apr 30, 2007 7:52 am
- Forum: PHP - Theory and Design
- Topic: Datatype in function parameters?
- Replies: 4
- Views: 1596
Datatype in function parameters?
PHP is a typeless language. However, in Zend Studio, if you write a function, for example... public function setRequired($field) { $this -> _required[] = $field; } ...and then try and add a PHPDoc block to it, it comes up with... /** * Enter description here... * * @param unknown_type $something */ ...
- Mon Apr 30, 2007 7:40 am
- Forum: PHP - Security
- Topic: Noobish password protection?
- Replies: 14
- Views: 3983
Someone wrote that especially AOL users change their ip address during browsing. This doesn't make the script more vulnerable (I think :roll: ) since the user check will then fail and login screen is shown. Of course this makes that AOL users have to login several times which is too bad :( . I am s...
- Sun Apr 29, 2007 11:42 am
- Forum: PHP - Security
- Topic: Noobish password protection?
- Replies: 14
- Views: 3983
The user can only get the $_SESSION['User_ID'] variable stored if has logged in. I check that on every page. How can he get that variable stored if he doesn't login? :? There is no password protection in the code snippets you posted, only variable testing. Perhaps show the code that deals with inpu...
- Sat Apr 28, 2007 11:54 am
- Forum: General Discussion
- Topic: What's your favourite PHP Editor?
- Replies: 533
- Views: 235138
I can never settle on a PHP editor. Started with things like notepad, grew to PHP Designer 2006 (which I thought was good), then 2007 (which was really bad), stayed on notepad++ for about 6 months just because it was very lightweight. The I moved on to some of the big boys. I tried eclipse with PHPe...
- Sat Apr 28, 2007 11:44 am
- Forum: General Discussion
- Topic: Another topic about books... sorry
- Replies: 1
- Views: 633
Another topic about books... sorry
Yea, yea, yea. Another question about books. However, this thread is slightly different in that I have compiled a list of ones which I think sound good. What I am really looking for is a "rather than this book I would recommend abc because of x, y, z", "thats expensive, you can get it...
- Sat Apr 28, 2007 9:56 am
- Forum: PHP - Code
- Topic: trigger_error - getting function call line
- Replies: 6
- Views: 1049
Re: trigger_error - getting function call line
In a way. __LINE__ and __FILE__.MikeG wrote:Is there a way to get it to output the line the class function was called on, as well as the file? For example:
- Sat Apr 28, 2007 9:50 am
- Forum: PHP - Code
- Topic: Fixing Numeric Input
- Replies: 8
- Views: 1626