wildteen88
Staff Alumni-
Posts
10,480 -
Joined
-
Last visited
Never
Everything posted by wildteen88
-
[SOLVED] mod rewrite help with $_get tags
wildteen88 replied to chmpdog's topic in Apache HTTP Server
If your links are like pagename.html?var=value&foo=bar etc then you need to tell mod_rewrite to pass on the query string by using the QSA flag -
[SOLVED] php pages not displaying correctly
wildteen88 replied to gr3mlin's topic in PHP Coding Help
Short open tags are not enabled by default on WAMP, you can enable this setting from then PHP settings tray menu. It is recommended to use full PHP tags though. However to view phpinfo on wamp you can go to index.php?info=1 (provided you keep the default index.php) Regarding the screenshot (which isnt very clear) this appears to be more of a HTML/CSS issue. Your stylesheet is not being loaded from the looks of things. This doesnt seem to be a php issue. -
Where did you save your php file to? I believe with XAMPP on linux your files should be saved in /opt/xampp/htdocs/
-
[SOLVED] php pages not displaying correctly
wildteen88 replied to gr3mlin's topic in PHP Coding Help
Or here by clicking the Reply button (located at the the top or bottom of the thread) and selecting the Addition Options link to upload your screenshot. -
[SOLVED] php pages not displaying correctly
wildteen88 replied to gr3mlin's topic in PHP Coding Help
How are you saving your files? Make sure you're saving them as filename.php Can we see a screenshot of your problem? -
Are you sure that suckerfish.php actually exists in the following directory path /hsphere/local/home/seshamaru/vanadielprofiles.com/templates/my_blog_v2/
-
How to install a PHP extension?
wildteen88 replied to pinacoladaxb's topic in PHP Installation and Configuration
If the extension has been compiled then you should be able to add Within your php.ini However you're may be better off asking your webhost if is possible for this extension to added. -
How to make this modification?
wildteen88 replied to AtomicRax's topic in PHP Installation and Configuration
if you're using Apache you can use mod_rewrite to direct all requests to index.php Add the following to a file called .htaccess and place it in the directory where your index.php is located to. rewriteEngine On rewriteRule (.*) index.php/$1 When going yoursite.com/whatever it will actually call index.php/whatever -
[SOLVED] Browser not recognising Php
wildteen88 replied to Nooble's topic in PHP Installation and Configuration
Looking at your url you need to be going to http://localhost/mystuffchris/helloWorld.php -
You need to tell mod_rewrite to pass on the query string. RewriteRule file file\.php [L,QSA]
-
I guess you have copied and pasted the code from somewhere. All instances of > need to be changed to '>' (without then quotes) > is invalid PHP syntax.
-
[SOLVED] Browser not recognising Php
wildteen88 replied to Nooble's topic in PHP Installation and Configuration
As you have XAMPP installed you need to be going to http://localhost to run your PHP scripts. Loading your PHP scripts directly into the web browser will not work. -
Remove the single quotes from around $sess Variables do not get parsed within single quotes.
-
You need to look in your servers error log to see why you are receiving the 500 Internal Server Error.
-
Seems what you're trying to do is not possible. You'll have to get in contact with the site owner.
-
Are your sure there is a field called name in your catagories table?
-
Where are editing the line link to. We need to see more code than you have posted
-
What is the output of that code? Where should the user go when they click the link. You need to be more specific.
-
Is anything being displayed in America1.php? Have you made sure session_start() is the first line in Americal1.php Your if statements are fine, however it'll be better for to use an if/elseif statement or even a switch
-
modrewrite cannot rewrite links within your html. You'll need to update your links yourself
-
1. You should be using move_upload_file. 2. No not possible. Any files uploaded to the server cannot be executed, unless they find a security hole in your site which allowed them to run malicious code.
-
The period symbol ( . ) is for concatenation.
-
You saying when echo'ing the variable $arr[2] you get Array as the output? In that case $arr[2] contains an array. To see the contents of an array you should use print_r. Like so echo '<pre>'. print_r($arr[2], true) .'</pre>'; Whats the output?
-
I assume the variable named $h holds the current hour. How are you currently working out the hour?