LiamProductions
Members-
Posts
496 -
Joined
-
Last visited
Never
Everything posted by LiamProductions
-
something like this: if ( file extension of file is equal to css ) { upload } else { Overload! }
-
[SOLVED] 'php-include' - call this file every 30 seconds?
LiamProductions replied to mellojoe's topic in PHP Coding Help
You could do a for loop and include the images then put a 30 second sleep then in 30 seconds it will do the next loop -
Hey. Help me please. Right. I have a div. and on mouseover i want it to change color. heres my code: Index.html <html> <head> <title> Test run </title> <link rel="stylesheet" href="./stylesheet.css"> </head> <body> <div class="header" onmouseover="this.background='black'"><br /><h1>Test run</h1> </div> </body> </html> stylesheet.css body { margin-left: 120px; margin-right: 120px; } h1 { color: white; margin-left: 30px; } .header { display: block; background-color: 464642; height: 130px; } Please help. maybe edit the code or something Thanks
-
Thats pretty cool. But i would recommend doing it on photoshop with a transparent background. Because it does not work on some browsers and it may have w3c standards errors.
-
Hey, Im starting on C++. I've learnt a few things today. Like how to write a string, to include iostream, cin ... and stuff Its quite fun. I can't wait till i move onto bigger stuff.
-
Thanks. Does anyone know where i can start C++ like when you start PHP?
-
I've got Dev C++ I went on a tutorial and it said to echo out something, It echoed it out but the problem is the program closed within a second of loading Any ideas why that happened? And where can i get some good tutorials?
-
So gathering the infomation the extensions are .cpp Where can i get a good C++ Compiler? Thanks again
-
Hey. I was interested in starting C++ Programming. Firstly, Does anyone have links to tell me how to start up. Does anyone know what a compiler is and what it does? What are the file extensions with C++ ? 2. Is there many sites that do C++ Programming tutorials like PHP does. THanks.
-
Form Emailer will not reach success page
LiamProductions replied to cfgcjm's topic in PHP Coding Help
Whats on requestsuccess.php? -
It looks ok. And i like the template
-
Form Emailer will not reach success page
LiamProductions replied to cfgcjm's topic in PHP Coding Help
Does it work now? {The code i sent above your post} -
Form Emailer will not reach success page
LiamProductions replied to cfgcjm's topic in PHP Coding Help
oh right... Im not sure if this is what you mean? <? $name = $_POST["name"]; $email = $_POST["email"]; $person = $_POST["person"]; $reason = $_POST["reason"]; $today = date("d, M Y"); $recipient = "millercj@etown.edu"; $subject = "Prayer Request"; $forminfo ="Prom: $name\nEmail: $email\nForm Submitted: $today\nPerson to add: $person\nReason: $reason\n\n"; $sent = mail($recipient, $subject, $forminfo, "From: $email"); if($sent) { header("Location: portal/requestsuccess.php"); } else { header("Location: portal/requestno.php"); } ?> Try that you can only put where the document is in the header you can't put http://www.------.com -
Form Emailer will not reach success page
LiamProductions replied to cfgcjm's topic in PHP Coding Help
I don't understand. Can you explain more?\ -
Firstly add or mysql_error(); to the end secondly is your table members?
-
Form Emailer will not reach success page
LiamProductions replied to cfgcjm's topic in PHP Coding Help
You want to send it to requestsuccess.php? <form name="form1" method="post" action="requester.php" style="width: 360px; height: 201px"> Change it to... <form name="form1" method="post" action="requestsuccess.php" style="width: 360px; height: 201px"> -
Hey. How do i check if $_POST['user'] is equal to any of the values in row username in my db? Any pointers or code snippets?
-
Hey. Right... How would i check if this string has a @ and a . in it? for example <?php $email = "Yourface@lighthand.com"; if($email has a @ in the string and has a . in the string) { echo "This has more possiblites of an email than without them"; } else { echo "We could not tell if this is a email because there is no @ or dot"; } ?> Point out the function or tell me how to do it
-
Your using Get? $_POST ?
-
ForumPix.co.uk - Host your pics here
LiamProductions replied to phillips321's topic in Beta Test Your Stuff!
I tried to upload a .jpg file and got Warning: imagesx(): supplied argument is not a valid Image resource in /media/data/forumpix.co.uk/index.php on line 79 Warning: imagesy(): supplied argument is not a valid Image resource in /media/data/forumpix.co.uk/index.php on line 80 -
Maybe because Google bought Youtube so they can list it where ever they want?