- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
16 Posted Topics
I am looking for an method to indicate to mobile customers if a taxi's insurence is up to date or not. Should be bluetooth or wifi based and work from the taxi drivers phone and we must be able to update it remotely. Anyone have an idea what to use … | |
Re: [URL="http://www.google.co.za/search?q=php+mysql+tutorial&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a"]Google[/URL] :-) | |
here is code that I am working on. What it is supposed to do is upload a media file (image, audio, video) and then tell me what type of media it is. $media_type='image'; $filename=$_FILES["file"]["name"]; $extension = explode(".", $filename); $extension = end($extension); //echo $extension; if (($_FILES["file"]["size"] < 50000) && (!$_FILES["file"]["error"] > … | |
I am trying to submit to a newsoap service and keep recieving the following error *HTTP/1.1 400 Bad Request Cache-Control: private Transfer-Encoding: chunked Content-Type: text/html Server: Microsoft-IIS/7.5 X-Powered-By: ASP.NET Date: Mon, 03 Sep 2012 10:09:41 GMT* Function I have written looks like the following ($post_xml is shown below and $url … | |
I am urgently seeking assistance with the following error: *Commands out of sync; you can't run this command now* here's the code: $sql="select pr1.".$_SESSION['lang'].", pr1.id, pr2.".$_SESSION['lang'].", pr2.id from `project` as pr2 join project as `pr1` on(pr1.id=pr2.parent_project) where pr2.id=?"; $stmt = $mysqli->stmt_init(); $stmt->prepare($sql) or die ("Error preparing statement: ".$mysqli->error); $stmt->bind_param('i',$_GET['id']); $stmt->execute() … | |
I'm trying to think how to change this into a js tree view. It consists of lines that point to a file(no extention) Each one is a link... [code=txt]rustenburg rustenburg/school/hstegnies rustenburg/school/bergsig/sport/rugby rustenburg/school/bergsig/sport/tennis rustenburg/sport rustenburg/sport/rugby rustenburg/sport/tennis/rustenburg tenis club rustenburg/sport/tennis/Impala club rustenburg/sport/rugby/impala rustenburg/sport/rugby/xtrata rustenburg/places/city hall rustenburg/places/kloof etc.. [/code] ideas?? | |
Hi, my name is Lionel and I'm a computerholic! I run a small web design and development business in Rustenburg, South Africa. Specialities (or still getting there) PHP HTML Javascripting Being a geek, I am still single (dont get out much :'() | |
Anyone have an idea what the regex would be for preg_split to split a string at a semicolon ([icode];[/icode]), but ignore any quoted (single or double) parts as well as ignore escaped ([icode]\;[/icode]) semicolons? I have tried to decipher this one and could not (regex not my strongpoint - YET) … | |
Re: iammirko, I agree with evstevemd! Email clients are complex! Speeking out of experience here. I wrote a system where clients email updates to their websites. Trust me, try something that is already out there! | |
Hi guys and gals! I want to know if I am on the right track. I am working on a simple in-house cms. Here is a templating function I wrote to test an idea. It does work. [LIST=1] [*] The function loads the template file, [*] finds all the template … | |
Re: Hi there, Hope this helps. I havent tested it but it looks like something that may help. [B]Forcing a download[/B] [code=php] <?php $file = 'monkey.gif'; if (file_exists($file)) { header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.basename($file)); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public'); header('Content-Length: ' . filesize($file)); … | |
Re: Hi nats01282, You will need to save the data you have entered on the first page either to a database like MySql or you can save it to a file. Here are tutorial links: [URL="http://www.tizag.com/phpT/filewrite.php"]Writing to a file[/URL] [URL="http://www.freewebmasterhelp.com/tutorials/phpmysql"]Saving to MySql database[/URL] | |
Re: The first question You will use $_SESSION['user'] after that or you can say $user=$_SESSION['user'] on the top of the page (or in your case pghead.php) Second question Depends... Read up about session security before you decide what to store there | |
Re: Rather than using [icode]$_REQUEST['pid'][/icode] try using [icode]$_POST['pid'][/icode] if the form method is post or [icode]$_GET['pid'][/icode] if the form method is get. | |
Re: I think you should do something like this on the next page... [code] $object=new registerClass(); $object->checkLogin($_POST['Username'], $_POST[Password]); [/code] | |
Re: You can try [code=php] while (list($key,$value) = each($object)) { echo $key.":".$value; } [/code] $object is an object or an array. |
The End.