Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
Try uploading the file again, just to be sure, maybe the file upload got interupted. What happens if you try to directly access it in the browser?
-
/home/kionam00/public_html/paidmails/site/send_email.php Is that file actually in that folder? Is the link pointing to the right place?
-
I don't think you're going to be able to without mod_rewrite, unless you only have one page - then you could include it. If you have many pages, your links would have to point to the other domain, and users will see it.
-
Daniel, that's not how you use get to the internet. Everyone knows you open AOL and go to Yahoo and type in the URL there. Gosh. :-P I can say that my application supports input from USB and Apple Pie, but unless people agree on a meaning for Apple Pie it doesn't make sense. AJAX != Web 2.0. You seem to think they are interchangeable and they're not. That's like saying PHP and LAMP are interchangeable. PHP is a PART of Lamp, and an OPTIONAL one, as you can have LAMP systems with Python or Perl. The "world" won't understand what you mean because MOST people don't even know what Web 2.0 means - because it doesn't really mean anything. Saying your framework supports AJAX makes sense, and thus sounds much more professional.
-
on the current page, use header('Location: http://othersite.com');
-
GoDaddy is 3.99 and they allow it.
-
So pony up the $5 monthly to get a decent host.
-
That's what mod_rewrite is for - why do you want to do it without it? I believe in DNS you can do *.domain.com - you could direct that to a specific page, then use PHP to get the whole URL to get the user's name.
-
[SOLVED] Displaying a username when a user is logged in, HELP!
Jessica replied to SauloA's topic in PHP Coding Help
if(isset($_SESSION['MM_Username']) && $_SESSION['MM_Username']){ print $_SESSION['MM_Username']; }else{ //Login form. } -
How are you so sure? You can't figure out how to do an if statement, but you're sure the rest of the code works? I'm not saying post all the code, but the ERROR is very specific about the function and the line, and what you posted has nothing to do with it. What you posted was incorrect code however, and if you fix the brackets that may fix it.
-
Still can't get the data pulled from MySQL field
Jessica replied to sydewyndr's topic in PHP Coding Help
This looks like a problem with wordpress. (If that's what it is) If you want the newest entry, it'd be something like SELECT post_title FROM wp_posts ORDER BY id DESC LIMIT 1 We'd need to know the fields in order to correctly specify the sorting. -
You're still not posting the relevant code, that's why I agreed. You posted SQL statements, and what you wrote will work in SQL. Your code has nothing about the function (attackback()) that the error is referencing. You said you tried the suggestion Toon posted, yet when I asked you to post it you said you had, but the code doesn't have his suggestion. This code is missing brackets: $mypower = ($mywep[power] + $stat[strength] - $earm[power]); if($mypower<0){ $mypower=0; } $epower = ($enemy[strength] + $ewep[power] - $myarm[power] ); if($epower<0){ $epower=0; }
-
Get rid of email get arounds like me (@) me dot com
Jessica replied to steveclondon's topic in Regex Help
In order to counter the spaces thing, you could create a temporary string with all the spaces removed, and check it then -
"It supports web2.0" Wtf does that mean? Web 2.0 isn't something that can be "supported" - it's a buzzword. It's a design theme focusing on simplistic, childish layouts and colors with gradients and rounded corners, big buttons, and star-badges, never ending public beta, a focus on user-driven content, "angel" funding for ideas that simply add on to existing products, and hype. How can a framework "support" that? I happen to really like the look of the Web 2.0 style-sites, and some of the ideas coming out of the theme are cool. Most of them are people trying to jump on a bandwagon with their startup. How the heck does a framework support that?
-
There's no SQL using a LIMIT in there. Post the code where this happens: "There are sometimes more than 10 displaying, and many times the amount seems random." Edit: Toon is right.
-
How do you know it's not working with the variable? Use require.
-
We'd need to see the code.
-
That's why I'm advising you to read a tutorial, like the ones on this site. OR: http://us2.php.net/mysql_query The second example here: Example 1356. Valid Query
-
I'd get both results and compare in PHP.
-
That is how you assign a variable to the session. Are you asking how to get the information from the table? Look at the mysql functions on php.net or read a tutorial here...
-
You did it down here: $mytime=time(); $mytime=date("H:i:s A",$mytime); $_SESSION['time'] = $mytime; $_SESSION['status'] = 'logged'; $_SESSION['username'] = $n;
-
You wanna post a little more code and why it's not working.
-
So make that text have it's own class, and apply the style you want to it.
-
Get rid of email get arounds like me (@) me dot com
Jessica replied to steveclondon's topic in Regex Help
You still are being confusing. You want them to not be able to post their email anywhere, so you're looking for that type of get-around? Is that what you're saying?