
LemonInflux
Members-
Posts
944 -
Joined
-
Last visited
Never
Everything posted by LemonInflux
-
Is ?> really needed? I know in some cases, such as the Zend framework, you're encouraged not to use a ?> to prevent white space accidentally being placed. Just something I was wondering about, would be really pleased to have a definite answer. Thanks
-
This isn't PHP, this is apache. ---------------- Now playing: Aerosmith - Dude (Looks Like A Lady) via FoxyTunes
-
inserting custom fields in php email script
LemonInflux replied to pillsburycodeboy's topic in PHP Coding Help
http://uk2.php.net/mail -
Yeah, your webhost, by the looks of it, isn't good.
-
No worries if it works, remember to click topic solved! ---------------- Now playing: Enter Shikari - Adieu (Routron 5000 Remix) via FoxyTunes
-
Or, if you're a real line-counter : <?php $Type=mysql_real_escape_string($_POST['Type']); $mainSearch=mysql_real_escape_string($_POST['mainSearch']); //Perform your DB Operations here. ?> ---------------- Now playing: Enter Shikari - Adieu (Routron 5000 Remix) via FoxyTunes
-
Ooh I see. you would simply change the second argument: str_replace('[iMAGEPATH]', '<a href="path/to/file.php"><img src="http://www.myurl/image/myimage.gif" /></a>', $variableHoldingYourPageInfo); ---------------- Now playing: Enter Shikari - Keep It On Ice via FoxyTunes
-
[SOLVED] What is going on here? (Sessions - Variables)
LemonInflux replied to crazylegsmurphy's topic in PHP Coding Help
Haha, no problem. I always get a geeky sense of accomplishment when I solve a problem Now quick, click the topic solved button before hundreds of people start shouting ---------------- Now playing: Enter Shikari - Kickin' Back On The Surface Of Your Cheeks via FoxyTunes -
Oooh I see. *sits quietly* ---------------- Now playing: Enter Shikari - The Feast (Demo) via FoxyTunes
-
What is the file? That doesn't look like a PHP error.. ---------------- Now playing: Enter Shikari - The Feast (Demo) via FoxyTunes
-
I don't understand the question. Give me an example please? ---------------- Now playing: Enter Shikari - The Feast (Demo) via FoxyTunes
-
I, for one, enjoy peeking at people's signature links http://hudzilla.org/phpwiki/index.php?title=Main_Page ~~ It's actually a really good book. It got me started on OOP. And it's free! ---------------- Now playing: Enter Shikari - The Feast (Demo) via FoxyTunes
-
[SOLVED] What is going on here? (Sessions - Variables)
LemonInflux replied to crazylegsmurphy's topic in PHP Coding Help
I think so, yes. Because they're all keeping the same cookies/sessions etc. Close them all and find out ---------------- Now playing: Enter Shikari - Closing via FoxyTunes -
I know I'm really pushing away from PHP now, but look at this: http://www.huddletogether.com/projects/lightbox2/ ---------------- Now playing: Enter Shikari - Closing via FoxyTunes
-
[SOLVED] What is going on here? (Sessions - Variables)
LemonInflux replied to crazylegsmurphy's topic in PHP Coding Help
It works for me Oh, and delete the echo line, it's displaying 'autumn' in the top left corner EDIT: Well, actually, the session's season value ---------------- Now playing: Enter Shikari - Closing via FoxyTunes -
[SOLVED] What is going on here? (Sessions - Variables)
LemonInflux replied to crazylegsmurphy's topic in PHP Coding Help
As hilarious as this may sound, I spilt lemon juice in it (I say 'I', I mean my baby cousin). Really, don't ask. She has a thing for lemons.. ---------------- Now playing: Enter Shikari - Closing via FoxyTunes -
Sorry, I only speak english translation please? ---------------- Now playing: Enter Shikari - Closing via FoxyTunes
-
[SOLVED] What is going on here? (Sessions - Variables)
LemonInflux replied to crazylegsmurphy's topic in PHP Coding Help
Yes sorry, I understand now. My keyboard is being a bit weird, and the backspace gets stuck. I must've clicked there by accident, because it's fine on my local server I hope that's the only error, haha ---------------- Now playing: Enter Shikari - Closing via FoxyTunes -
[SOLVED] What is going on here? (Sessions - Variables)
LemonInflux replied to crazylegsmurphy's topic in PHP Coding Help
Edit: haha, I see. Sorry :S It was hastily done ---------------- Now playing: Enter Shikari - Closing via FoxyTunes -
Eh? Of course it won't, and that's not a PHP error. Basic HTML puts headers and paragraph text on new lines. ---------------- Now playing: Enter Shikari - Closing via FoxyTunes
-
Your host should supply the ability to 'point' your domain at another domain. ---------------- Now playing: Enter Shikari - Closing via FoxyTunes
-
[SOLVED] What is going on here? (Sessions - Variables)
LemonInflux replied to crazylegsmurphy's topic in PHP Coding Help
Ooooh, I see! Right, so you want it to be cross-page compatible? Right then, you have 2 options: - Either change your links to add the $_GET extention. Ooor... <?php session_start(); $seasons = array ( 'spring' => array('March', 'April', 'May'), 'summer' => array('June', 'July', 'August'), 'autumn' => array('September', 'October', 'November'), 'december' => array('December', 'January', 'February') ); if(isset($_GET['css']) && array_key_exists($_GET['css'], $seasons)) { $css = $_GET['css']; $_SESSION['css'] = $_GET['css']; } elseif(isset($_SESSION['css'] && array_key_exists($_SESSION['css'], $seasons)) { $css = $_SESSION['css']; } else { foreach($seasons as $season) { if(in_array(date('F'), $season)) { $css = $season; $_SESSION['css'] = $season; } } } EDIT: Made a small change ---------------- Now playing: Enter Shikari - Closing via FoxyTunes -
str_replace('[iMAGEPATH]', 'http://www.myurl/image/myimage.gif', $variableHoldingYourPageInfo); ---------------- Now playing: Enter Shikari - Closing via FoxyTunes
-
upload multiple images with client side resize
LemonInflux replied to bertsmilsky's topic in PHP Coding Help
Wait sorry, getting my projects mixed up. That uses flash. I can't remember the one that uses AJAX. Although I think myspace does ---------------- Now playing: Enter Shikari - OK, Time For Plan B via FoxyTunes -
upload multiple images with client side resize
LemonInflux replied to bertsmilsky's topic in PHP Coding Help
http://fotoflexer.com/ I believe they use AJAX for their image manipulation. Java is all very good, but I personally dislike java, because it seems to slow the browser a lot :/ and at the end of the day, if you can use AJAX, you're probably saving some memory space anyway. ---------------- Now playing: Enter Shikari - OK, Time For Plan B via FoxyTunes