Forum: PHP 19 Hours Ago |
| Replies: 1 Views: 37 Sessions: cookies and use_trans_sid Hi there
I have a problem with sessions at the moment. My aim is to be able to use sessions with out getting those ugly url's.
In my php.ini session.use_trans_sid is on and session.use_cookies is... |
Forum: PHP 3 Days Ago |
| Replies: 2 Views: 79 |
Forum: PHP 3 Days Ago |
| Replies: 2 Views: 79 Undestanding $_SESSION['nameofsession'] Hi there
I just need some clarification on sessions. If I have $_SESSION['name'] = $_POST['name']; in my php will it $_SESSION['name'] be created numerous times on different pc's?
For example:
Joe... |
Forum: PHP 25 Days Ago |
| Replies: 3 Views: 315 |
Forum: PHP 25 Days Ago |
| Replies: 3 Views: 315 Re: PHP: reporting upload progress Hi petr
I managed to get this working. The progress bar is here:
http://t.wits.sg/2008/06/20/jquery-progress-bar-11/
And the server requires the PECL package "uploadprogress" installed and... |
Forum: HTML and CSS Sep 8th, 2008 |
| Replies: 3 Views: 828 |
Forum: HTML and CSS Sep 2nd, 2008 |
| Replies: 3 Views: 828 Two background images on one page Hi everyone
Just curious to know if anyone has a technique to accomplish this. I've tried having one image as the background on the html tag and one on the body tag. Problem is that I'd like to have... |
Forum: JavaScript / DHTML / AJAX Aug 28th, 2008 |
| Replies: 4 Views: 658 Re: Calling a PHP function with Ajax I managed to solve my problem!
I simply changed "function DBinfo()" to an if statement as follows:
if($_FILES['uploadFile']['tmp_name']) { //uploadFile being the name of my file input in my... |
Forum: JavaScript / DHTML / AJAX Aug 28th, 2008 |
| Replies: 4 Views: 658 Re: Calling a PHP function with Ajax There was one line I accidently deleted in the code above which was the progress bar.
<span class="progressbar" id="uploadprogressbar">0%</span>
This line can be anywhere in between the body tags |
Forum: JavaScript / DHTML / AJAX Aug 28th, 2008 |
| Replies: 4 Views: 658 Re: Calling a PHP function with Ajax This is the page I'm working with. I've taken out all the unnecessary code.
<?php
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
$ulid =... |
Forum: JavaScript / DHTML / AJAX Aug 27th, 2008 |
| Replies: 4 Views: 658 Calling a PHP function with Ajax Hi there
I have a page that has php code at the top. Ajax before the body tag and a form.
I need to be able to call a php function (the one at the top of my page) that adds info from the form into... |
Forum: JavaScript / DHTML / AJAX Aug 26th, 2008 |
| Replies: 0 Views: 210 Executing upload on secondary page I initially created a post for my problem here http://www.daniweb.com/forums/post678373.html#post678373
I received a response saying my answer lay with ajax. Please feel free to make suggestions... |
Forum: PHP Aug 26th, 2008 |
| Replies: 1 Views: 125 Executing upload on secondary page Hi there
I have a form with a file input field on page 1 and a progress bar on page 2. What I'm trying to achieve is for a user to fill out the relevant fields of the form and once he/she hits... |
Forum: JavaScript / DHTML / AJAX Aug 15th, 2008 |
| Replies: 2 Views: 329 |
Forum: JavaScript / DHTML / AJAX Aug 15th, 2008 |
| Replies: 2 Views: 329 Ajax and server relation Hi there
I've never dealt with Ajax and I'm having a rather frustrating time with an upload progress bar I found on the net that's supposed to be really good. That's beside the point. I just wanted... |
Forum: PHP Aug 13th, 2008 |
| Replies: 3 Views: 315 PHP: reporting upload progress Hi all
I'm trying to get a jquery progress bar working. What I'd like to know is if there is a specific command I need to include in my php or something I need to add to my php.ini file in order to... |
Forum: PHP Jul 24th, 2008 |
| Replies: 3 Views: 285 Re: Running a script daily I've manage to figure something out related to subtracting days.
Is there any known method of automatically running a script once a day? |
Forum: PHP Jul 24th, 2008 |
| Replies: 3 Views: 285 Running a script daily Hi there
I'd like to have a script run automatically each day that removes a day from a table with a column called "day" but only if an entire day has passed since the entry of the relevant... |
Forum: PHP Jul 23rd, 2008 |
| Replies: 6 Views: 198 Re: wrapping urls in an a tag Thanks for the help buddy. I had to modify your function a little bit but it helped a lot ;)
function reduceurl($url, $url_length) {
if (strlen($url) > $url_length) {
$reduced_url = substr($url,... |
Forum: PHP Jul 21st, 2008 |
| Replies: 6 Views: 198 |
Forum: PHP Jul 21st, 2008 |
| Replies: 6 Views: 198 |
Forum: PHP Jul 21st, 2008 |
| Replies: 6 Views: 198 Re: wrapping urls in an a tag i found the following code which seems to work. Anyone know how to make the length of the text shown smaller ie. 40 chars instead of say 80.
$content = $row[2];
$text =... |
Forum: PHP Jul 21st, 2008 |
| Replies: 6 Views: 198 wrapping urls in an a tag Hi all
I'm trying to find any urls inside a paragraph of text pulled from a db and wrap an a tag around it. At the moment I have the following which isn't working.
$content = $row[2];
$urlStart =... |
Forum: PHP Jul 18th, 2008 |
| Replies: 1 Views: 319 PHP uploading with a progress bar Has anyone managed to get an easy install version of a progress bar for their uploads to work? Been through a couple of "easy to install" upload progress bars with no luck in getting any of them to... |
Forum: PHP Jul 18th, 2008 |
| Replies: 5 Views: 163 Re: Time in terms of PHP Thanks for the response. I had a look at the manual under time but it didn't make it quite clear.
Thanks once again ;) |
Forum: PHP Jul 18th, 2008 |
| Replies: 5 Views: 163 |
Forum: PHP Jul 18th, 2008 |
| Replies: 5 Views: 163 Time in terms of PHP Hi there
I just need some clarification on how time is seen in PHP
1000 would equal 1 sec ?
and therefore 60 000 would equal 1 minute right ?
and 1 hour would be 3 600 000 ?
I somehow think I'm... |
Forum: MySQL Jul 7th, 2008 |
| Replies: 2 Views: 365 |
Forum: PHP Jul 3rd, 2008 |
| Replies: 1 Views: 236 |
Forum: PHP Jul 3rd, 2008 |
| Replies: 1 Views: 236 |
Forum: PHP Jul 2nd, 2008 |
| Replies: 7 Views: 603 Re: Elegant file upload of multiple files Hey nav33n...long time ;)
The reason I have it the way I do is because I'm going to have 16 iframes on index.php with upload fields in them and I need to move the uploaded images to a folder that is... |
Forum: PHP Jul 2nd, 2008 |
| Replies: 11 Views: 991 |
Forum: PHP Jul 2nd, 2008 |
| Replies: 1 Views: 204 |
Forum: PHP Jul 2nd, 2008 |
| Replies: 1 Views: 204 |
Forum: PHP Jul 2nd, 2008 |
| Replies: 7 Views: 603 Re: Elegant file upload of multiple files Main Page(index.php)
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td align="left" valign="top">Folder Name<input type="text" name="folderName"... |
Forum: PHP Jul 2nd, 2008 |
| Replies: 7 Views: 603 Re: Elegant file upload of multiple files Hi there
I'm working on this again but I've run into a snag. What I'm doing at the moment is using i-frames to pull a page that has an input file field into the page where the user will be adding... |
Forum: HTML and CSS Jun 20th, 2008 |
| Replies: 7 Views: 729 |
Forum: PHP Jun 18th, 2008 |
| Replies: 7 Views: 603 Elegant file upload of multiple files Hi everyone
Does anyone know of a script that allows multiple file upload while only having one file input on the screen?
I think gmail does this. The user browses for an attachment and then clicks... |
Forum: HTML and CSS Jun 18th, 2008 |
| Replies: 7 Views: 729 |
Forum: HTML and CSS Jun 18th, 2008 |
| Replies: 7 Views: 729 |