Likes Received By TwistMyArm
-
SedNaX liked TwistMyArm's post in the thread search form with multiple inputs, how do i ignore the empty fields?.
Is it a search query that you're doing? I'm assuming so... You could always do something like... $query_array = array(); if ( !...
Feb 26, 2007 -
Silver89 liked TwistMyArm's post in the thread Strip.
Why not use str_replace? $number = str_replace( '-', '', $number ); $number = str_replace( '0', '', $number );
Feb 12, 2007 -
WorldwideInfoSource.com liked TwistMyArm's post in the thread Should I use PHP or DotNetNuke? What's the difference?.
I'm not going to tell you which to use, but you're really comparing apples to oranges. PHP is a language. DotNetNuke is a CMS written...
Jan 22, 2007 -
Narrator liked TwistMyArm's post in the thread Sending mass emails..
Assuming your host allows you to override the time out... which most don't. Firstly, I would suggest not using the native PHP function:...
Jan 15, 2007 -
Yfcadmin liked TwistMyArm's post in the thread Joomla problem.
Yep, either check Joomla extensions (which is always a great idea anyway) or download via http://projects.j-prosolution.com/ (which is...
Jan 14, 2007 -
OWL_on_NG liked TwistMyArm's post in the thread Ternary operator.
Essentially the ternary operator provides a 'simpler' if / else. So: $a = ( $b ? $c : $d ); translates to: if ( $b ) { $a = $c; }...
Jan 3, 2007 -
streety liked TwistMyArm's post in the thread Can SESSION do this?.
Good to hear you sorted it out, but just wanted to refer to: "I don't understand the part about php session stuff coming BEFORE all...
Jan 3, 2007 -
Icheb liked TwistMyArm's post in the thread How to ecncrypt a string..
Hmmm... I'm a little curious: you don't want to pass the value itself through GET because it's unsafe, but are happy to pass a symmetric...
Dec 26, 2006 -
aaron_nimocks liked TwistMyArm's post in the thread A HREF Promlems.
Something like: ?><div><? echo "<a href='" . $row['url'] . "'>" . $row['url'] . "</a>"; ?></div><? you mean?
Dec 26, 2006 -
falcondriver liked TwistMyArm's post in the thread Where I will get free PHP forum.
If only there was some kind of code out there, some form of 'engine', for want of a better word that would let you 'search' for things...
Dec 19, 2006 -
thudufushi liked TwistMyArm's post in the thread Any joomla whizzes?.
I just had a play with the version I have on localhost: don't know if it's exactly what you did, but it seems to me that you can change...
Dec 15, 2006 -
GFX^^ liked TwistMyArm's post in the thread What is wrong with this?.
Now *that* error is the one that maiahost was addressing. You should make the change as per his first reply and see what happens.
Dec 1, 2006 -
frankcow liked TwistMyArm's post in the thread how to track referrer at session start?.
You could do something like: if ( ! isset( $_SESSION[ 'referer' ] ) ) { if ( $_SERVER[ 'HTTP_REFERER' ] ) { $_SESSION[...
Nov 23, 2006 -
GTech liked TwistMyArm's post in the thread Protect PHP scripts.
Although you want to write something that will ping your server on a fresh install, you also want to protect your code. Now, like you...
Nov 23, 2006 -
WebDivx liked TwistMyArm's post in the thread Help! PHP Layout Includes.
Sounds like you had register_globals set ON on your old host (and it's now set OFF). register_globals set ON is a security issue, but...
Nov 18, 2006 -
Emperor liked TwistMyArm's post in the thread What script for online store?.
Yep... I'm sure the developers are careful, but whilever it's required, I'm going to steer clear of it. For two reasons, really: the...
Oct 11, 2006 -
Cryogenius liked TwistMyArm's post in the thread Refferrer URL Not Getting Passed in PHP Re-direction.
From site B, return a page something like: <html> <body onload="document.getElementById('submitbutton').submit()">...
Aug 30, 2006 -
ahkip liked TwistMyArm's post in the thread need help handeling quotes in php page.
The backslashes are ONLY for the non-delimiting quotes: that is, all but the start and end ones. If you're going to use heredocs (the...
Aug 4, 2006 -
jestep liked TwistMyArm's post in the thread Auto Download PDF.
Here's a copy and paste of a section from http://www.faqts.com/knowledge_base/view.phtml/aid/4906 : Using the Content-Disposition...
Jul 21, 2006 -
Matts liked TwistMyArm's post in the thread Help with HTML form?.
Your problem comes down to this: when the user enters the text, the form uses newline characters when the user presses enter. When you...
Jun 13, 2006