No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, Please help me work out this mod-rewrite issue while trying to make my urls SEF. RewriteEngine On Options +FollowSymLinks # Browse Category RewriteRule ^category/[!/.]*([A-Za-z]+)/?$ /browse.php?cat=$1 [NC,L] # View Item RewriteRule ^view/([0-9]+)/([a-zA-Z0-9-]+)$ /view.php?item_id=$1&sef=$2 [NC] This is my current .htacess. The browse category rule is working ok converting - http://localhost/browse.php?cat=people into … |
|
Re:
Ok, here is my code below. I am just learning this language and I need help with a question for a error message if statement. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Product Discount Calculator</title> <link rel="stylesheet" type="text/css" href="main.css" /> </head> <body> <div id="content"> <h1>Product Discount … |
|
Re:
Hey everyone, I know this probably seems simple but for some reason I can't get my head around the correct concept. Bare with me please. I have a form in html that is for uploading photos in a to a specific category. However I want to add a select menu … |
|
Hi, I have a div called target which is centred and displayed over a google map when you pan to a map marker, i have since added a menu to the left of the map which means that when the google map pans to a marker it is no longer … |
|
hey, please help me sort this data out. Array ( [0] => Successful response for: set username [1] => Successful response for: set password [2] => Successful response for: set server [3] => Successful response for: services [4] => State Notification acquiring-network [5] => Successful response for: sign-in [6] => … |
|
Hi can you advise if this is possible and how please? I have a cmd line program which i want to run "PPP.exe test" i then get a response saying i am in the program, then i need to send further perameters. "set username Bill" - i will get a … |
|
Hi, thanks for looking! I am trying to replicate a mouseover image swap feature on multiple images like on this site - [url]http://www.togsandclogs.com/latest-arrivals-12-w.asp[/url] I have found some image swap scripts but finding it difficult to find something i can implement for multiple images as above. The below works ok for … |
|
hi, i am trying to filter my gps history points. i would like to ignore points if they are too close to the previous position. i can do this like so. [CODE]$old_lat = $old_long = "0"; foreach($history['data'] as $record) { //calculate distance in meters $distance = distance($record['latitude'], $record['longitude'], $old_lat, $old_long, … |
|
hi i have created a php file which calls a php function and echos the results. i dont want to display the results i want to use them in a jquery function. [CODE] jQuery('body').prepend("<div id='target'></div>"); gMap.gmap3({ action: 'init', onces: { bounds_changed: function() { var number = 0; jQuery(this).gmap3({ action: 'getBounds', … |
|
Hi all, i understand that php header needs calling before any output. i made a mistake and used it after an include which did output some html which gave the error. but when testing on localhost with exact same code the header location redirect worked fine with no error? any … |
|
i need to create a unix timestamp in milliseconds like 1319031463499 to post to an web service. tried all sorts and cant get it. i have googled and keep getting strange years? |
|
hi all, can you help with the htaccess required to turn this url into the folder type (see example) [CODE]http://localhost/history.php?u=vlowe&id=447733337761&days=1[/CODE] into [CODE]http://localhost/history/vlowe/447733337761/1[/CODE] cheers :) |
|
Hi, I cant get my around this.. I want to store some config details in config.php like so.. [CODE] $conf['audio'] = "play"; $conf['email'] = "send"; .. .. .. [/CODE] how can i use a form to edit the variables by writing to the file. The form will have the option … |
|
Im still trying to work this one out but what i would like to do is send an email if an alert is present. but not resend the email on every page refresh where the alert is still present. so i was thinking of using something like $_SESSION['sent_time'] to record … |
|
Hi all, im looking for some help with some javascript if thats ok. I am building a system for creating a booklet. I want the user to be able to select the quantity of booklets they require. (eg 50, 75, 100, 125) Then also select the number of pages each … |