wildteen88
Staff Alumni-
Posts
10,480 -
Joined
-
Last visited
Never
Everything posted by wildteen88
-
There is no standard stylesheet. stylesheets are custom made to fit your site. I'd suggest your learn CSS/HTML first before creating any website. You can easly learn CSS/HTML from http://www.w3schools.com very easy to follow tutorials. if you mean stylesheets for myspace then search "Myspace templates" in google. there are plenty websites out there.
-
How are they ordered in your php code? Posting those few lines doesn't give me much information on how the images get ordered. You'll need to post more code. NOTE: when you post code within post please use the code tags ( ), thank you.
-
AMP should be able to get installed on Win98. I;d say install the lowest version possible, which is Apache1.3.x, PHP4 and MySQL4 However I can't see why you can't install AMP on Win98. I'd only use Win98 for development purposes only. I wouldn't use it for production use. the only way to find out is to try it.
-
You will want to use a JOIN on DELETE. I'm am not very good at joins so I can't relay provide an example. JOINS allows you to run queries over multiple tables.
-
I mean view source code from the page you took the screen shot from. Also please use code tags ( when posting code
-
Look in the output (view > source code) and see where it is located in there. BY looking at the output you should be able to see where it is coming from.
-
Looks there is a something in your code which outputs e and a PHP wont output it for no reason.
-
h1 { padding: 0; margin: 1em; } That will remove all padding and give a margin of 1em. Note: It is always a good idea to define the margin/padding for all block level elements in your page. Never let browsers set defualt paddings/margins. This helps to keep your layout look more consistent through different browsers.
-
That will only be compatible with IE. *off topic Nice to see Microsoft has made MSDN firefox friendly now, liking the new design.
-
You could also use $_SERVER['HTTP_USER_AGENT']. This returns the browser the user is using and the OS, eg: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
-
I'd say so yes. Or you can go the javascript way. There is probably a script out there like the flash script but in javascript. However, if the user has javascript disabled or hasn't got flash installed then they wont be able to resize their images. You'll want to detect where they javascript or flash enabled before you allow them to upload.
-
Got board so I clean your html out, see new design here. XHTML & CSS valid.
-
Too many images being used, especially those pesky spacer images. Where spacers are used you could merger the cells. To many tables being used etc. In order to fix it your html will need to recoded from scratch. Click here to see the errors in your html
-
You should only need to clean variables coming from the client this will be, _GET, _POST and _COOKIE. Session data shouldn't need to be escaped as that is set within the script. Also I'd remove these lines: $$key = stripslashes(strip_tags(htmlspecialchars($val, ENT_QUOTES)));
-
Your html is a mess. Looks like you have exported it out of an image editor after slicing. Never use the generated HTML by an editor always code it your self. Also when you slice only export the images your are going to use on your page. I am not surprised a browser cant display it. FF cant even display it properly as the html is so messed up.
-
Turn display_startup_errors on within the php.ini. PHP should error out if it is having trouble while loading the configuration.
-
You have a missing ; or ) at the end of a line near line59. Change these lines: $form=new FormProccess $form->field("$_GET['username']"); $form->field("$_GET[pass]"); $form->field("$_GET[cpass]"); $form->field("$_GET[email]"); to: $form=new FormProccess; $form->field($_GET['username']); $form->field($_GET['pass']); $form->field($_GET['cpass']); $form->field($_GET['email]'); $form->checkfill();
-
How to detect that a system(client) is idle in PHP
wildteen88 replied to shanu_040's topic in PHP Coding Help
not possible. You'll have to use some kind of client language for that, such as javascript. PHP runs on the server. PHP does not listen out for client commands/events. This is what javascript is for. -
Both lines dont need to be the same. Only one of the lines need to be pointing to the correct path in which your php.ini is located. If either lines is correct PHP is reading your php.ini
-
What do they mean by that? Do they mean if your site is hosted of off a windows server? Or if you are using a windows PC. .htaccess file can be created/used on windows no problem. However .htaccess files can only work on your website if Apache is installed and is configured to use .htaccess files. If you want to up the upload limit and your host does not allow you to up the limit then I'd say look for a new host that allows you to change PHP settings. Most shared hosts may not allow you to change PHP's settings. You might want to look into dedicated servers. These will allow you to configure the server to how want it to, but they are more expensive.
-
If this in relation to this post. Then closing this topic. Continue from your other thread.
-
If its auto_increment you don't need to set a default value. The default value comes from auto_increment.
-
[SOLVED] php.ini file ignored?
wildteen88 replied to chombone's topic in PHP Installation and Configuration
Make sure you restarted your server (eg, Apache, IIS etc). Your server must be restarted in order for the new changes to come through from the php.ini Also make sure there isn't a semi-colon ( at the start of the line where you define max_execution_time. PHP treats lines with ; at the start of the line as comments and will ignore them. max_execution_time should be located around line 300. -
call another script and pass parameters
wildteen88 replied to bakhtiyar's topic in Apache HTTP Server
What does receive.php and and send.php do? You'll probably want to include send.php into receive.php. This will merge send.php into receive.php allowing send.php to use any variables/functions set within receive.php -
set error_reporting to using a bitmask (a number code, eg 2037) instead of using named constants. Error reporting level can be set using numbers (kown as a bitmask) or with named constants