DanceInstructor 19 Posting Whiz
DanceInstructor 19 Posting Whiz
I use and love CakePHP.
My bad for repostng my suggestion I miss read the page. I saw the quote and though BareFoot posted that it had fixed it but she got same error elsewhere. Hence why I resuggested what I had mentioned earlier.
P.S. No need for the personal attacks I was just trying to help out. ;) I did mention that I THINK it is a variable if it is suppose to be a constant than I am odviosuly wrong. I agree that the error may be just before the quoted line.
You really think that was a personal attack? :eek:
Where is your site hosted? The majority of issues that people have with getting Cake setup involve mod_rewrite.
GliderPilot, GUEST_NAME is inteneded to be a constant. It is not a varaible.
The error is probably before line 59, as has already been mentioned.
You need to learn about making a flash preloader. It won't really speed up the loading time, but will give your visitor an indication that something is happening and the progress.
Looks like its working ok to me. Change the link in your site menu to point at:
I've heard really good things about python as well, although I haven't used it. I did see an impressive screencast for turbogears (uses python).
No matter what language you learn I would encourage you to begin learning good design patterns along side your learning the syntax and functionality of whatever language you choose. I'm a fan of object-oriented and model-view-controller design patterns. I know PHP only, but its worth noting that some of the other server-side languages are likely to "encourage" you to use better design patterns than PHP might. My point really though: Learn good design practices and you will write less code or not write the same code more than once ;)
You can do this without tables. Ideally tables should be used only for tabular data. The layout of your site is NOT tabular data. You will want to read up on the css property: clear. There is a nice article here: http://www.positioniseverything.net/easyclearing.html
You get the error message because you have your error level set to E_ALL or simalar. The message that you are getting is a warning and doesn't affect how the script runs.
When you put it on a production server you shoud have the lower level warning messages turned off anyway. If you really want to get ride of it just intialise the variable at the start of the script.
Do it as UrbanSky said. It would look something like this:
$search = '';
if(isset($_GET['search']))
if(!isset($cmd))
{
$search = $_GET['search'];
}
Please explain how you are testing the socket.
It is strange to me that your php script doesnt have a loop...
Edit the following line:
$HTML=load("easyboard_template.html");
so that it says:
$HTML=load("board.html");
Then point your browser at easyboard.php.
Submit a ticket to your host. If you haven't changed the script then its probably something your host has done.
Check this out:
http://css.maxdesign.com.au/listamatic/horizontal01.htm
You need to use display:inline; to get lists to line up horizontally. Lists rock for menus. :)
Put your mail function in an if-then statement. If it returns false it's time to display your variables before you try to call mail so that you know for sure the values that mail is recieving. If it returns true then it probably isn't a PHP issue, but a server issue.
puddin I think AJAX can do what you want, that is if I understood your post correctly.
FDC Servers has a nice selection of dedicated servers with your choice of operating systems.
Try:
RewriteRule ^(.+)\/$ listings.php?path=$1 [L,R]
I accept paypal :)
That is most definitely the reason.
Are you using curl? You really should have started a new topic in the PHP forum.
You will have to reload the page or use AJAX. To reload the page do something like this:
<a href="http://www.puddinpatchdatematch.com/open.php&inc=opener.inc">Profiles</a>
Then on the next page:
if( $_GET === "opener.inc") { include('opener.inc'); }
What do you mean by browser preference? The browser they are currently using or some input they supply?
ini_set ( 'max_execution_time', 86400 );
The time here is set for 86400 seconds (24 hours) :lol:
You can find more info here: http://www.php.net/manual/en/ref.info.php#ini.max-execution-time
PHP and ASP are also server-side options. I have heard of people using javascript to load html files as well.
<p> This result of the is : <? echo "$result" ; ?></p>
Where did you define $result? And it is also better to use <?php than <?
Add this line to the <head> of your index.html:
<meta http-equiv="refresh" content="0;URL=forums/index.php">
People visiting your site will be sent directly to your vbulletin index. That is the "easy" way. Maybe someone else will post the hard way :p
It wouldn't have occured to me without Troy's post. I looked at your code for about 15 minutes last night then after reading Troy's post this AM it clicked.
How about a gift card to someplace like Sears, Target, Wal-Mart, etc...
But how are you verifying those recommendations?
I suppose the best option would be to add to the standard context menu, is that an option tgreer?
If I'm not mistaken PHP automatically handles garbage collection and cleanup when a session ends. That is provided you haven't declared any custom session handlers using session_set_save_handler().
Try using <?php at the top instead of <?.
Rename the file to: favicon.ico
You can find a login script here:
http://www.evolt.org/PHP-Login-System-with-Admin-Features
I think it is a fairly good solution. Of course integrating it with your website will pose challenges as Troy mentioned. There is alot of discussion after the article so I suggest you read the comments as well as the article to get a good idea of all the factors involved.
$pos = strpos ($HTTP_USER_AGENT, $value);
You have not defined this variable and it is not good practice to use a reserved name for a variable name. So use this:
$u_agent = getenv('HTTP_USER_AGENT');
$pos = strpos ($u_agent, $value);
The issue for the OS is similar, you should see it now ;)
Nice way to comment on a post that is a year and a half old.
MODx maybe? They don't bill themselves as a community software application, but they do have similar functionality with plugins. Features page here:
http://modxcms.com/features.html
A listing of modules and plugins here:
Use ASP to calculate the totals. I'm sure someone in the ASP forum will be happy to help:
http://www.daniweb.com/techtalkforums/forum62.html
I prefer PHP/MYSQL.
How are you getting the values from the database? What server-side language are you using?
Don't.
I have a friend who has used Filemaker to create some applications. They work great, but he has had alot of trouble trying to port them to the web. To get any real flexibility you will have to buy the $2500 licence for the web extension or whatever it is called.
Window->Optimize
I think that is an end-user issue and has to be changed in the page setup part of the print dialogue. To my knowledge there is no way to effect those settings using PHP.
So you haven't tried blocking ips?
Maybe there is something wrong with the logic of your script? Why don't you post the code in the asp forum: http://www.daniweb.com/techtalkforums/forum18.html I'm sure someone there will have an idea for you.