Search found 24 matches
- Wed Sep 13, 2006 10:44 pm
- Forum: PHP - Code
- Topic: ?width?With this form I upload image to dir & put data t
- Replies: 3
- Views: 327
yeah I sure do have GD...version 24 to be exact... thanks for that gd_info() function...neeto. Warning: imagesx(): supplied argument is not a valid Image resource in c:..\cpanel\ns_gallery_config.php on line 81 $image_width = imagesx($_FILES['img_file']); <---this is the supplied argument...whats wr...
- Wed Sep 13, 2006 10:18 pm
- Forum: PHP - Code
- Topic: ?width?With this form I upload image to dir & put data t
- Replies: 3
- Views: 327
?width?With this form I upload image to dir & put data t
So i'm uploading images and inserting image name and image location to MySQL database... I looking for ways to read the image's WIDTH and inserting that number into another field on the database how do i do this? currently i'm using $_FILES['image'] to read its name and the form uses the POST method...
- Sun Sep 03, 2006 5:49 pm
- Forum: PHP - Code
- Topic: PHP Default Errors- How do I avoid showing these errors?
- Replies: 8
- Views: 839
- Sun Sep 03, 2006 4:32 pm
- Forum: PHP - Code
- Topic: PHP Default Errors- How do I avoid showing these errors?
- Replies: 8
- Views: 839
- Sun Sep 03, 2006 4:21 pm
- Forum: PHP - Code
- Topic: PHP Default Errors- How do I avoid showing these errors?
- Replies: 8
- Views: 839
- Sun Sep 03, 2006 2:34 pm
- Forum: PHP - Code
- Topic: PHP Default Errors- How do I avoid showing these errors?
- Replies: 8
- Views: 839
PHP Default Errors- How do I avoid showing these errors?
Hey PHP Devs, This is one of the most recent errors I've come across: Warning: copy(images/6.jpg) [function.copy]: failed to create stream: Permission denied in c:\websites\nickyscott120\nickyscott.com\cpanel\cpanel.php on line 19 An earlier error was about not being able to connect to my MySQL data...
- Tue Jun 13, 2006 11:08 am
- Forum: PHP - Code
- Topic: MYSQL_ASSOC vs. MYSQL_NUM? i keep receiving an error
- Replies: 4
- Views: 578
- Mon Jun 12, 2006 7:00 pm
- Forum: PHP - Code
- Topic: MYSQL_ASSOC vs. MYSQL_NUM? i keep receiving an error
- Replies: 4
- Views: 578
- Mon Jun 12, 2006 6:03 pm
- Forum: PHP - Code
- Topic: MYSQL_ASSOC vs. MYSQL_NUM? i keep receiving an error
- Replies: 4
- Views: 578
MYSQL_ASSOC vs. MYSQL_NUM? i keep receiving an error
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: I get this error when i use "MYSQL_ASSOC" when i use "MYSQL_NUM" i get my results that are expected. heres the specific code i'm using: if( $db ){ $u...
- Fri Jun 09, 2006 12:07 pm
- Forum: PHP - Code
- Topic: what does it mean?? beta or patch?
- Replies: 3
- Views: 464
- Fri Jun 09, 2006 11:56 am
- Forum: PHP - Code
- Topic: what does it mean?? beta or patch?
- Replies: 3
- Views: 464
what does it mean?? beta or patch?
hey guys, i'm confused everything i'm gonna download software.
i just finished downloading phpdev.
i noticed there was a patch version, phpdev version, and a phpdev beta version.
what is the difference between beta and regular download????
i just finished downloading phpdev.
i noticed there was a patch version, phpdev version, and a phpdev beta version.
what is the difference between beta and regular download????
- Thu Jun 08, 2006 5:40 pm
- Forum: PHP - Code
- Topic: DDL deep linking to swf with PHP...HOW SO???
- Replies: 4
- Views: 1063
- Thu Jun 08, 2006 3:06 am
- Forum: PHP - Code
- Topic: DDL deep linking to swf with PHP...HOW SO???
- Replies: 4
- Views: 1063
- Thu Jun 08, 2006 2:43 am
- Forum: PHP - Code
- Topic: DDL deep linking to swf with PHP...HOW SO???
- Replies: 4
- Views: 1063
DDL deep linking to swf with PHP...HOW SO???
the question: how do you control an SWF movie by passing this query to PHP? understand,,,the swf movie is already been played (lets say sitting on frame 8) and you can see the contents of whatever frame 8 holds, then on the address bar you see http://xmlm3.com/#frame8, and of course, the actual addr...
- Wed Jun 07, 2006 3:25 pm
- Forum: PHP - Code
- Topic: success OR DIE is there an alternate solution to dying?
- Replies: 16
- Views: 5203
Let's say I do it this way: if( empty($errors) ){ $link = mysql_connect( '$host', '$user', '$pass' ); if( !$link ){ error('Could not connect to host'); return; } $db = mysql_select_db( '$dbname' ); if( !$db ){ error('Could not connect to database.'); return; } $username = trim($_POST['username']); $...