Search:
Type: Posts; User: dylanwang
Search :
Search took 0.01 seconds.
I'm no expert at this, but I'm thinking, if you use javascript to store your variables won't people be able to see them?
I've made simple members areas before using PHP, and it was quite simple.
...
I'm thinking you want to change the class because you have CSS applied to certain classes.
you can try something like this. I'm no javascript expert, so note i said "try". Not sure if this works....
So during a maintenance, here's what I would have in my .htaccess file:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/maintenance\.php$
RewriteCond %{REMOTE_HOST}...
I have trouble understanding what part of it exactly you need to know.
If you're talking about getting the external url from the parameter thing, here's how:
Let's say you want your message to...
What I'm thinking is what you can do is this:
Let's say your emotion and image will be 'Bored'.
So just make your image variable as './images/'+emotion+'.png'
And the random number only has to...
Let's say on the description page, $item = 'name';
Let's say your order form is example.com/orderform.php
So just make the link take them to the page:
example.com/orderform.php?item=<?php echo...
Okay I've been using PHP for this for a while, and I just started reading about XML. I think I get what XML is about, and I've seen some examples of it. So I'm wondering which would be better for...
I've been working with the likes of CSS, HTML, PHP, Javascript, etc. and I've just started using my .htaccess .
My page's URL looks like this:
example.com/directory/?id=1
I want it to look like...
Like in some sites if you press the "right" arrow key, it brings you to the next page. And if you press the "left" arrow key, it brings you to the previous page.
I think they use javascript to make...
I apologize for being unclear, but what you said worked.
Thanks.
let's say the URL of the page is:
www.example.com/directory/10/index.php
here's the javascript:
var directory = location.href.indexOf("directory");
var slash = location.href.indexOf("/",...
basically if the page is called:
example.com/example/1/index.php
then i want the variable to be 1.
example.com/example/2/index.php
then i want the variable to be 2.
so basically one thing i...
For example, if the pages are called:
example.com/example/1/index.php
example.com/example/2/index.php
...
example.com/example/99/index.php
and it keeps going.