Search Results

Showing results 1 to 40 of 165
Search took 0.02 seconds.
Search: Posts Made By: Venom Rush ; Forum: PHP and child forums
Forum: PHP Oct 8th, 2009
Replies: 7
Views: 264
Posted By Venom Rush
Atli, you are king. Thanks for those first two links. Just what I was looking for.
Forum: PHP Oct 8th, 2009
Replies: 7
Views: 264
Posted By Venom Rush
I think everyone is misunderstanding what I'm after. I'm looking for a resource that explains the ins and outs of the http protocol related to uploads.

I don't need a work around on how to upload...
Forum: PHP Oct 7th, 2009
Replies: 7
Views: 264
Posted By Venom Rush
Php.ini controls the file upload size via 'upload_max_filesize'.

The http protocol only allows one connection for uploads (this is about all I know). Trying to upload multiple files using multiple...
Forum: PHP Oct 7th, 2009
Replies: 7
Views: 264
Posted By Venom Rush
Hi everyone

I've been googling my time away trying to find a resource that explains how many php uploads http can handle at once and any extra info on the process and limitations etc. Does anyone...
Forum: PHP Oct 5th, 2009
Replies: 5
Views: 297
Posted By Venom Rush
Ok, so it seems it was the MIME types in the end.

For future reference, is there any other way to find out the MIME type of a file (other than checking the file extension based on the name)?
Forum: PHP Oct 5th, 2009
Replies: 5
Views: 297
Posted By Venom Rush
Yes, file permission and upload size are not the issue. The server hasn't got error messaging turned on. I'll see if I can get that sorted out. I haven't echo'd the mime type to see if there's...
Forum: PHP Oct 5th, 2009
Replies: 5
Views: 297
Posted By Venom Rush
Hi all

I have some functionality that allows the upload of files such as MS word docs, zips etc. It works fine on my pc and another test machine but doesn't seem to work on two other machines I've...
Forum: PHP Aug 12th, 2009
Replies: 4
Views: 240
Posted By Venom Rush
LOL...I could kick myself right now. This is one of those situations where a simple character messes you around completely. Thanks a lot kkeith29.

Problem Solved!!!!!!!!!
Forum: PHP Aug 12th, 2009
Replies: 4
Views: 240
Posted By Venom Rush
Hi samarudge

I've checked my $row[1] variable using a while loop and all the values from the database are coming through. For some reason it just won't work with an array. It's really confusing...
Forum: PHP Aug 12th, 2009
Replies: 3
Views: 340
Posted By Venom Rush
I found this a month or two ago:

addcslashes($id, "\x00\n\r\'\x1a\x3c\x3e\x25");


Can't remember what it prevents from being entered. Just recall that it was pretty secure when it comes to...
Forum: PHP Aug 12th, 2009
Replies: 4
Views: 240
Posted By Venom Rush
Hi all

I'm having a strange array problem. I'm pulling variables from a database and putting the values in arrays. One set of values are pure numbers. This array works fine. My second set of...
Forum: PHP Jul 15th, 2009
Replies: 6
Views: 464
Posted By Venom Rush
Yes you did....reputation added ;)
Forum: PHP Jul 15th, 2009
Replies: 6
Views: 464
Posted By Venom Rush
I retract my earlier statement.....it is in fact working.....thanks Menster for your input ;)
Forum: PHP Jul 15th, 2009
Replies: 6
Views: 464
Posted By Venom Rush
Hi Menster

Thanks but my code still gives all my menu items the class of "currentNavSub". I'm not sure if this is because all links are the same page or if "?type=x" is irrelevant. Not quite sure...
Forum: PHP Jul 15th, 2009
Replies: 6
Views: 464
Posted By Venom Rush
Hi everyone

I have a menu that I'm creating dynamically with links that have query strings on the end of them. Basically I want the menu item, that's related to the page the user is on, to be in a...
Forum: PHP Jul 10th, 2009
Replies: 5
Views: 289
Posted By Venom Rush
Forum: PHP Jul 10th, 2009
Replies: 5
Views: 289
Posted By Venom Rush
Hi emarshah

I'm looking for a php development framework (found the right term :D ). WAMP is a server enviroment. Thanks for your response though.
Forum: PHP Jul 10th, 2009
Replies: 2
Views: 665
Posted By Venom Rush
@goldy

Hi, is there any reason you need to have the 2 values from form1 and form2 calculate into the text box in form3 before you go to the next page?

If not, then put the text box from form1...
Forum: PHP Jul 10th, 2009
Replies: 5
Views: 289
Posted By Venom Rush
Hi all

I'm not even sure if development environment is the right term but I'm looking to find out what the best or most popular development environment to use is? I've herd of CAKE and was told...
Forum: PHP Jun 1st, 2009
Replies: 8
Views: 510
Posted By Venom Rush
Forgot to mark this as solved....but thanks for the link vrluckyin ;)
Forum: PHP May 21st, 2009
Replies: 2
Views: 238
Posted By Venom Rush
Ok, you can all just ignore this thread completely. I was being an idiot :P ;)
Forum: PHP May 21st, 2009
Replies: 2
Views: 238
Posted By Venom Rush
Do arrays not store inverted commas and apostrophes?

This seems to be the case with a project I'm working on and it's very annoying.

I'm pulling small strings from a DB, some of which contain...
Forum: PHP May 18th, 2009
Replies: 4
Views: 703
Posted By Venom Rush
Aaaah perfect. Was just busy reading up on array_push() but your answer is doing the trick. Thanks ;)
Forum: PHP May 18th, 2009
Replies: 4
Views: 703
Posted By Venom Rush
I was just fiddling with the idea of an array. But the code I have doesn't seem to be working properly.


$variable = array();
while($row = mysql_fetch_row($result))
{
$variable += $row[0];
}...
Forum: PHP May 18th, 2009
Replies: 4
Views: 703
Posted By Venom Rush
Hi there

I'm trying to cycle through entries inside a MySQL db and create numbered variables inside a for loop. Currently it doesn't seem to be working.

Here's an example of what I'm trying to...
Forum: PHP May 15th, 2009
Replies: 3
Views: 265
Posted By Venom Rush
I'm not worried about SEO for this as it's a small cms. But thanks for the advice ;)
Forum: PHP May 15th, 2009
Replies: 3
Views: 265
Posted By Venom Rush
Seems I solved my problem....using $_SESSION :)
Forum: PHP May 15th, 2009
Replies: 3
Views: 265
Posted By Venom Rush
Hi Guys/Gals

I have a page that has iFrames on it. Now the pages that are shown in the iFrames each have their own code on them. I'd like to know if it's possible to use variables that are on the...
Forum: PHP Mar 2nd, 2009
Replies: 2
Views: 844
Posted By Venom Rush
Thanks cwarn. I modified your code to fit my needs.
<?php
$string='seaweed#';
$strb=explode('#',$string);
//Check if the length of the string before # is more than 3 letters...
Forum: PHP Mar 2nd, 2009
Replies: 2
Views: 844
Posted By Venom Rush
I'm trying to create a 6 digit number from a string of letters before a # sign.

For instance I'd like to take "seaweed#" and take the 6 last letters before the "#" sign and convert them to numbers...
Forum: PHP Feb 23rd, 2009
Replies: 7
Views: 3,297
Posted By Venom Rush
Welcome to the community and glad this thread helped someone other than myself ;)
Forum: PHP Feb 5th, 2009
Replies: 8
Views: 510
Posted By Venom Rush
Yes I did. Thanks a lot nav33n ;)
Forum: PHP Feb 5th, 2009
Replies: 8
Views: 510
Posted By Venom Rush
Would something like this work?

public function insertToTable($table, $columns, $data){
$insert_to_table = "insert into $table ($columns) values ('$data')";
mysql_query($insert_to_table);...
Forum: PHP Feb 5th, 2009
Replies: 8
Views: 510
Posted By Venom Rush
Thanks for your response nav33n. The trouble comes in when I have multiple tables. One for food, animals, mechanical etc. Just want to create a something that will be able to work across the website.
Forum: PHP Feb 5th, 2009
Replies: 8
Views: 510
Posted By Venom Rush
Hi all

I'm learning OOP and I'm having a bit of trouble grasping the concepts. I'm trying to code a class that will connect to a database and have a function that will insert data into a table no...
Forum: PHP Nov 25th, 2008
Replies: 5
Views: 1,676
Posted By Venom Rush
Ok, I think I'm beginning to understand this better. Thanks a lot for the explanation darkagn. I really appreciate it ;)
Forum: PHP Nov 24th, 2008
Replies: 5
Views: 1,676
Posted By Venom Rush
So let me just check if I understand this correctly.

Animal is an abstract class with the methods eat() and walk() with walk() being abstract. And if you had the class Reptile() you would write it...
Forum: PHP Nov 24th, 2008
Replies: 5
Views: 1,676
Posted By Venom Rush
Well the title pretty much says it all. I'm reading through a php OOP book and I'm having trouble understanding why you'd want to create an abstract class.

Can anyone perhaps shed some light on...
Forum: PHP Nov 17th, 2008
Replies: 3
Views: 910
Posted By Venom Rush
I've been doing some googling and I've come across some solutions that use fsockopen. The problem is that in all these solutions the "coder" knows what the file is they'd like to upload.

Is there...
Forum: PHP Nov 14th, 2008
Replies: 3
Views: 910
Posted By Venom Rush
Hey Shawn

Thanks for the response. Looking at a security point of view would using ajax not be subject to being worked around to ignore the captcha check and simply upload a file?
Showing results 1 to 40 of 165

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC