Hi all, I found phonegap yesterday, they have some examples on their site that show how to take a picture and another how to upload but I am having a hard combining the two examples. My goal it to...
couldn't you remove the <form and /form> tags and add the upload-control.php file to be called by the javascript with the submits onChange in the input field?
I am so lost... I am trying to upload a file, save it to the database, return the database count of images and the image url.
all that is working.
then I want to remove it if remove is clicked. I...
I'm here getting help myself (I hope).. this place taught me a lot of php (thanks NogDog and Bokeh), I'm hoping to learn a little javascript too!
I have this that I used, there may be better answers...
I found a script online for uploading images with ajax. it all works fine, I can upload and save images to the database. I have some rudimentary php knowledge, javascript i am completely lost... at...
I would try using preg_replace for the name aspect of it.
http://php.net/manual/en/function.preg-replace.php
maybe something like:
$name = preg_replace("/[\"',.!&?:#\/ ]/","_", $name);
I have 2 codes. One will extract all the files from a directory and limit so many per page and have pages, ie pg1, pg2 etc. it sorts them randomly I think, or ASCII maybe??
Wow, that works. As far as the form goes I just posted one multiselect without the form tags and the submit options... but I'm confused about how I could do this for multiple hidden boxes, would i...
I'm trying to write a form and I need to allow the user to select more than one option from a list of options, if the last option is selected I have a hidden DIV that displays.
Ok, wow.. that was a lot of changes hehe. When I tried your code i got an error in the first section of it, I removed an } and it worked.. kinda. I mean it only display certain DIV's... but they...
so I found this cool script that collapses several div's and then displays one at a time. I'd like to use this cool little code twice on my page but it's calling each div id as "static" in the...
i want to run a search on column(? site_items) and for each cat_id search in the site_categories for the name of that category. what I have now searches for the category only.
I have a page that will display some code as an image. I'm trying to get this to display as a gif or jpg extension instead of a php extension
written like this it works:
imagegif($img);