Search found 50 matches

by potsed
Sat Nov 20, 2004 3:31 am
Forum: PHP - Code
Topic: Advertising on Multiple Websites with PHP
Replies: 5
Views: 521

by potsed
Mon Nov 15, 2004 2:02 pm
Forum: Javascript
Topic: [SOLVED] Writing </script> from JavaScript = problem
Replies: 9
Views: 1236

have u tried this idea...
viewtopic.php?t=26674
by potsed
Fri Oct 15, 2004 5:29 pm
Forum: PHP - Code
Topic: Poll
Replies: 6
Views: 717

wont that give the browser used, resulting each different browser-type is allowed one vote?
Yes it does but most users only use one browser ... IE (sic) anyway... if its not critical it works...
by potsed
Thu Oct 14, 2004 5:35 pm
Forum: PHP - Code
Topic: Can PHP call itself?
Replies: 26
Views: 1815

wouldnt that have huge security issues??
by potsed
Thu Oct 14, 2004 3:57 pm
Forum: Javascript
Topic: php output without iframes
Replies: 8
Views: 1332

u could always add a noscript tag for those who dont have js.. beside ppl who switch off js should expect to have less functionality
by potsed
Thu Oct 14, 2004 3:48 pm
Forum: PHP - Code
Topic: Uploading Files in Forms
Replies: 4
Views: 372

by potsed
Thu Oct 14, 2004 3:43 pm
Forum: PHP - Code
Topic: Uploading Files in Forms
Replies: 4
Views: 372

firstly put the <input type="hidden" name="maxfilesize" value="5000000"> directly under the opening form tag secondly remove the <input type="submit" value="upload file"> thirdly read the manual about $_FILES @ http://za2.php.net/variables.predefined
by potsed
Thu Oct 14, 2004 3:29 pm
Forum: PHP - Code
Topic: Poll
Replies: 6
Views: 717

i used an md5 hash of the $_SERVER['HTTP_USER_AGENT'] and the question ..put it into a db that is checked everytime the poll is called.. if the md5 hash is there it shows the results otherwise it shows the poll...


http://www.multebiz.co.za has the poll in the rh column.. it blocks for 24hrs..
by potsed
Wed Oct 13, 2004 2:46 pm
Forum: General Discussion
Topic: Introduce Yourself!
Replies: 1043
Views: 780265

Hi Im Daniel 29 ... single but aproachable...
I currently live in Pietermaritzburg South Africa originally from the UK.

Ive been using PHP for about 3 years..

and other than mac are there any SA PHPeers???
by potsed
Wed Oct 13, 2004 1:46 pm
Forum: Javascript
Topic: client side image resizing???
Replies: 6
Views: 686

irfanview is an excellant image tool that is freeware... small and easy to use too..

http://www.irfanview.com
by potsed
Tue Oct 12, 2004 6:13 pm
Forum: UI Design/Usability
Topic: Table to div convertion tutorials/books
Replies: 6
Views: 6886

by potsed
Tue Oct 12, 2004 5:32 pm
Forum: PHP - Code
Topic: Array - 2 dimensional ones
Replies: 7
Views: 778

sorry 4got 2 mention use the in_array() function

if (in_array('Bag of Nails', $HTTP_SESSION_VARS['cart'][0])) {
// whatever you want 2 do...
}
by potsed
Tue Oct 12, 2004 5:26 pm
Forum: PHP - Code
Topic: Array - 2 dimensional ones
Replies: 7
Views: 778

1. How to dynamically add another row to this array $HTTP_SESSION_VARS['cart'] = array(array('Bag of Nails','2.00','10')); you could get this by putting in a loop... $HTTP_SESSION_VARS['cart'][0] = array('Bag of Nails','2.00','10'); $HTTP_SESSION_VARS['cart'][1] = array('Bag of hammers','4.00','20'...
by potsed
Tue Oct 12, 2004 2:39 pm
Forum: Volunteer Work
Topic: need some help
Replies: 6
Views: 2957

have u tried $_POST['sweek'] and $_POST['eweek'] ???
by potsed
Tue Oct 12, 2004 2:14 pm
Forum: PHP - Code
Topic: T-String align?
Replies: 7
Views: 809

if i understand correctly... instead of echo u need to put the strings into a var and then echo the variable where u want it to b... <?php $str = "<H2>Thanks</H2><P>Thank you for joining the Sarah Martin fanlisting. You will be added to the member list as soon as possible.</P>"; ?> <?php e...