Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
php x 17
Member Avatar for BigDan531

[code] <?php session_start(); header("Content-type: image/png"); $img_handle = imageCreateFromPNG("bg2.PNG"); $q = rand(1,255); $w = rand(1,255); $e = rand(1,255); $r = rand(1,255); $t = rand(1,255); $y = rand(1,255); $u = rand(1,255); $i = rand(1,255); $color[0] = ImageColorAllocate ($img_handle, $q, 0, 100); $color[1] = ImageColorAllocate ($img_handle, 200, 0, 0); $color[2] = ImageColorAllocate ($img_handle, …

Member Avatar for pritaeas
0
228
Member Avatar for BigDan531

[code] <?php session_start(); header("Content-type: image/png"); $img_handle = imageCreateFromPNG("bg2.PNG"); $q = rand(1,255); $w = rand(1,255); $e = rand(1,255); $r = rand(1,255); $t = rand(1,255); $y = rand(1,255); $u = rand(1,255); $i = rand(1,255); $color[0] = ImageColorAllocate ($img_handle, $q, 0, 100); $color[1] = ImageColorAllocate ($img_handle, 200, 0, 0); $color[2] = ImageColorAllocate ($img_handle, …

Member Avatar for Menster
0
84
Member Avatar for BigDan531

Hi guys ive got a problem with my mail() function. [code] if(mail('$email', 'test', 'test message')) { echo('ok'); } else { echo('not ok'); } [/code] im trying to test this out. ive tried manually inputting the email e.g. [email]12345@hotmail.com[/email] the email is sent and i can receive it. However, when i …

Member Avatar for BigDan531
0
198
Member Avatar for BigDan531

okay guys below is my code [code] <?php session_start(); header ("Content-type: image/png"); $img_handle = imageCreateFromPNG("bg2.PNG"); $color = ImageColorAllocate ($img_handle, 100, 100, 100); ImageString ($img_handle, 5, 20, 13, $_SESSION['rkey'], $color); ImagePng ($img_handle); ImageDestroy ($img_handle); ?> [/code] The current output is 134534(example) But i would like the output to be 1[COLOR="Red"]3[/COLOR]45[COLOR="Red"]3[/COLOR]4. Any …

0
54
Member Avatar for BigDan531

okay heres my code below: [code] $keys = rand(10000,99999); $fkeys = rand(100,999); $bkeys = rand(100,999); $key = $fkeys,$keys,$bkeys; echo $key [/code] this line "$key = $fkeys,$keys,$bkeys;" is giving me errors. i would like the result to be something like $fkeys$keys$bkeys. Any idea how i would be able to do that?. …

Member Avatar for innocent.boys
0
95
Member Avatar for BigDan531

okay guys heres the problem. i have installed iis, and i am trying to send emails through a php script. i have followed all steps listed in [url]http://www.ruhanirabin.com/php-sendmail-setup-with-smtp-iis-and-windows-servers/[/url] . the page lists a php script [code] <?php if(mail('user@mydomain.com','test subject','test message')){ echo('ok'); } else{ echo('not ok'); } ?> [/code] When i …

0
58
Member Avatar for BigDan531

heey guys i need some help with the PEAR package. i have some code which i would like to send emails through, however, i do not understand the documentation available on the web. Do i need to install it?. If i need to how? Or do i just put it …

0
57
Member Avatar for BigDan531

okay guys ive got this page in which i want to verify the key that the user inputs with the key in my sql database, and then it updates a row called user_okay when i click on the enter button. [code] <?php session_start(); include ('dbc.php'); //if ($_POST['Submit']=='Enter') // { $keys …

Member Avatar for pin8marian
0
96
Member Avatar for BigDan531

Hi all i need some help with my code. i have a page where i want to update a row 'key' in my table users with a new value that i have generated. dbc.php [code] <?php $dbname = 'phplogin'; $link = mysql_connect("localhost","root","") or die("Couldn't make connection."); $db = mysql_select_db($dbname, $link) …

Member Avatar for kvprajapati
0
83
Member Avatar for BigDan531

hi guys i need some help with my code im new to php and im trying to create a login page. i have created MYSQL database to go along but whenever i try to login - it brings me to myaccount.php and just displays Access Denied no matter what input, …

Member Avatar for pritaeas
0
94