September 23rd, 2009 06:54 PM
.htaccess files are used to configure apache on a per-directory basis. they are not in C or C++ syntax.
Its about configuration, not programming. You can read more in:...
September 16th, 2009 09:39 PM
You can use apache mod_rewrite to accomplish that. Put this ".htaccess" file on the root of you site:
# redirection for the MVC magic
<IfModule mod_rewrite.c>
RewriteEngine On
# if...
September 16th, 2009 09:27 PM
It's very strange because I copy & pasted your code and it worked here. The code does nothing facy, it should work on a normal PHP setup.
September 13th, 2009 10:04 PM
Maybe the problem is when you output it to the browser. Maybe something is filtering it somewhere.
Maybe the text is coming correctly. is it a <textarea> or a rich text editor like...
September 13th, 2009 09:52 PM
You could try saving $_POST to $_SESSION so the last page gets it this way.
Another method is, if the middle page will present another form, you can put hidden fields filled with the data from...
September 4th, 2009 01:10 AM
Some frameworks go so far that they actually hide PHP from you. So make sure you mastered PHP before you try a framework.
I'd advice you to find a simple framework you like.
Avoid these for now...
August 18th, 2009 07:20 PM
You can achieve something similar with a static constructor:
class A {
public static create()
{
return new A();
}
August 12th, 2009 11:34 AM
Please be more specific.
You're using a terminal like DOS or Bash (Linux) or you want to accomplish that with a programming language?
August 12th, 2009 02:12 AM
Sahir,
welcome to PHP world. I hope you enjoy and stay.
I'll write some brief notes of what and how I do professional webdev with PHP:
When you get the idea behind web programming and PHP,...
February 9th, 2009 11:19 PM
2 tips for you:
1) Use Firefox + Firebug addon so you can debug javascript. You can tell it to stop script execution in a specified line to read each variable content at that moment.
2) Stop...
October 16th, 2008 07:37 PM
PeejAvery! You probably saved me hours of head bashing! Thank you!
I've changed some little things so I got the hole table in one array like I wanted:
$row = 1;
$column = 1;
$items =...
October 16th, 2008 07:12 PM
Thank you soo much for your reply! I've been trying it all day. All the craziest regular expressions from some books, google, php manual and from my head have been tried with no sucess. =(
I'm...
October 16th, 2008 04:35 PM
I need help extracting info from a HTML table.
The table have 5 columns and many rows. I want to extract the table information into an array so I can save in database.
This is the HTML code i'm...