Type: Posts; User:
I wrote it like this
RewriteRule ^\/browse(\/)?$ /browse.php [NC]
RewriteRule ^\/browse/(.*)(\/)?$ /browse.php?cat=$1 [NC]
RewriteRule ^\/(.*)$ /index.php?p=$1 [NC]
Hi. I need some help with creating search engine friendly URLs. I know there is a lot of documentation but I am new to .htaccess and I just cannot wrap my head around it beyond the basics. I want to...
I am trying to search a MySQL table. The thing is, there is a field called "type" which can have 1 of 2 values. The table will store this value in $t. I want the database to select ONLY the...
well in my case I had an if($grade='value') rather than if($grade=='value') by accident which overrode it. in your case I don't see what's wrong but I dont see what you did with the options. It's not...
I know that to select multiple rows from MySQL and echoing them I should use the WHILE function to loop it and run it again and again.
My question is however, slightly different. Let's say I...
i figured it out, very stupid mistake. thanks for your quick reply though!
and there are no PHP errors.. any idea why this could possibly be happening?
Could it have to do with classes? What could be a possible reason its not working? I have tried changing the "name" and the "values" (and made according changes in form.php) and still the same..
That's why this is driving me up the wall, there is no reason it shouldn't work. All other bits in the form are working fine (text input, checkboxes)
This is driving me up the wall. I have a form which contains:
<input type="radio" name="doctype" value="doc" class="radioinput" checked> <b>Doc</b>
<input type="radio" name="doctype"...
I just want to prevent people from downloading the entire directory full of uploads in 1 go and stealing all the content.
I am working on an uploadscript in PHP. On uploading, the file is supposed to be stored and some info that gets filled in along with the uploading form is supposed to be stored in a MySQL...
I received this: Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in...
I do not have FTP access to the site. Could you elaborate a bit more on cURL? Basically, the reason why I want to do this is because I provide URLs to files for downloading. However, when the...
the title pretty much says it all.
Does anyone have a link to a free PHP mailing list script that has the following features:
- verify email with confirmation email
- admin panel login
- send email...
Could anyone type out the code? For me to look it up could take hours while if someone already knows it... I understand if noone can be arsed but if it takes you 2 minutes please take the trouble
I have a MySQL table with 2 fields: A and B.
I want to write a code for the following:
If A = NOT empty: echo: 'THIS'
IF B = NOT empty, AND A = empty, and B...
hi, thanks. and how do you do that?
if you want to go easy mode you can also just use iframes
for authorization scripts there are several very reliable ones available on the internet. if you dissect them you can learn a lot. maybe also look into forms if you want to for example select x's...
I have a database of links. Sometimes these links break, I want to make a list of recently fixed links. Either in the past 24 hours, or just the last 5 or so.
Is this possible, and how?
imagine you have
$string = '21391031';
how do you make it echo '2', i.e. the first figure from the entire number.
that has to do with your hotmail settings