Spring
-
Posts
224 -
Joined
-
Last visited
Posts posted by Spring
-
-
My god! You had to manually type something and then test it to see if it would work?!?!? I had no idea the problem was as bad as all that. Certainly, immediate action should be taken to remedy the situation as swiftly as possible, and to ensure that no future user ever be forced to endure the harrowing ordeal you've been through. Please accept our heartfelt apologies for your pain and suffering!
My God! You would only have to output a string of text letting the users know BCC is enabled! I had no idea this would be so difficult!! I surely will think of how much time and sweat such an enormous task such as this will take before suggesting something so ludicrous! Please, the apologizes are mine, and mine alone!!
Yes i can! Bit I simply mean showing the BBC, I had to manually type the BBC. I had no idea it was going to work until I tired it. Maybe at least add a confirmation saying that BBC is allowed in the profile signature?
My apologies for confusing anyone.
My first post didn't specifically say this wasn't important or anything. It would just make the forums more user friendly. whyyougottabeadick?
-
Yes i can! Bit I simply mean showing the BBC, I had to manually type the BBC. I had no idea it was going to work until I tired it. Maybe at least add a confirmation saying that BBC is allowed in the profile signature?
My apologies for confusing anyone.
-
http://www.phpfreaks.com/forums/index.php?action=profile;area=forumprofile; to modify things like your siggy?
-
I was actually curious about this myself.
-
Ah I thought adding BBC to the forum profile page (At least the first four bold, italic, underline strike) would make things easier for people. Though it's not like it's super important or anything, just a suggestion.
I was able to find the following mod.
-
I would think it's personal opinion and also dependent on how important the users email is for your site. Yours seems fine to me, If someone wants to troll around with the email there's no point in stopping them.
-
Sorry, I don't use much pure javascript, but this doesn't look right.
if(reg_n!==null|| reg_p!==null || reg_email!==null || reg_p_m!==null || reg_n!=="" || reg_p!=="" || reg_email!=="" || reg_p_m!=="")
Should you be using Logical AND and also being using '!=' not '!=='
Hopefully, I helped.
try
if(reg_n != null && reg_p != null && reg_email != null && reg_p_m != null && reg_n != "" && reg_p != "" && reg_email != "" && reg_p_m != "")
-
Glad to have ya
-
The action doesn't have to be sent unless you want to use a different page for your email script, but you should have a method to pass the data. Then you would use
There's tons of tutorials on making an email script. Just google
Here's one I googled for an example, though I don't really like W3schools much myself.
-
Jquery is the example I used.
-
// Put an animated GIF image insight of content
$("#content").empty().html('<img src="loading.gif" />');
// Make AJAX call
$("#content").load("http://example.com");
-
Hi. I'd suggest changing your code to what Mj mentioned.
http://www.phpfreaks.com/forums/index.php?topic=349006.0
use isset
Um, let's not, since that won't work. A field that a users does not fill in a value for is still set - it just happens to have a value of an empty string. And, you should always use trim() on user input. Otherwise, a value of only spaces will appear as having a non-empty value.
$first = trim($_POST['First']); $middle = trim($_POST['Middle']); $last = trim($_POST['Last']); $personal = trim($_POST['Persona1']); if(!empty($middle)) { $middle = $middle.'.'; } echo "{$first}.{$middle}{$last}.{$personal}.<br>\n";
Although you should really think about using htmlentities() on the values to prevent any values that might be interpreted as HTML code from screwing up the page.
-
Otherwise, a value of only spaces will appear as having a non-empty value.
Oh wow, you're right! I never knew that! looks like I learned something new!
-
Fair enough..but couldn't he just use empty
Threw this together real quick and it worked fine
<html> <form action = "" method = "POST"> <input type = "text" name = "name"> <input type = "submit"> </form> </html> <?php if(!empty($_POST['name'])){ echo "set"; } else { echo "not set"; }
However, isset did not work as you mentioned above.
-
Rofl. Ah lord. Now I HAVE to get something for my cousin.
-
Woooot
Good job lol.
-
<?php $pathexpress = "email/message/to/toFirstName"; $childLabelPath = "email/message/to/toFirstName /#text"; //space $curChildLabelPath = rtrim($childLabelPath, "/#text"); echo $curChildLabelPath; ?>
I'm not sure if this helps you at all, but this worked for me.
-
-
I have a site where I pull mysql from the database, but it's a short sentence.
-
-
Use jquery to hide the two drops downs.
Onclick show the first one, on another click show the second one.
I don't know if there's a tut on what you're looking for, but you can use Jquerys documentation to look through the functions.
http://docs.jquery.com/Main_Page
Ill link the one's I think you'll be using.
http://api.jquery.com/slideUp/
Just use a small amount of logic and tada.
-
-
Just use a Mysql Join.
SELECT {WHATEVER} FROM 'uitems' AS u INNER JOIN 'items' AS a ON u.item_id = a.item_id WHERE {WHATEVER}
-
Membership Site
in Miscellaneous
Posted
Would you be okay with a javascript count down timer?