User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 428,109 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,598 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 181
Search took 0.01 seconds.
Posts Made By: Venom Rush
Forum: PHP 19 Hours Ago
Replies: 1
Views: 37
Posted By Venom Rush
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
Posted By Venom Rush
Forum: PHP 3 Days Ago
Replies: 2
Views: 79
Posted By Venom Rush
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
Posted By Venom Rush
Re: PHP: reporting upload progress

P.S. Instructions on installing the PECL package can be found on the jquery progress bar site
Forum: PHP 25 Days Ago
Replies: 3
Views: 315
Posted By Venom Rush
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
Posted By Venom Rush
Re: Two background images on one page

I've ended up using a div on either side of the content table with background images inside them.
Forum: HTML and CSS Sep 2nd, 2008
Replies: 3
Views: 828
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
Re: Ajax and server relation

Seems there isn't.
Forum: JavaScript / DHTML / AJAX Aug 15th, 2008
Replies: 2
Views: 329
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
Re: wrapping urls in an a tag

is there a php function that will match all instances of a string? strstr only seems to match the first occurance.
Forum: PHP Jul 21st, 2008
Replies: 6
Views: 198
Posted By Venom Rush
Re: wrapping urls in an a tag

Hi buddy

Unfortunately that won't work for me as $content is a paragraph of text, not just a url.
Forum: PHP Jul 21st, 2008
Replies: 6
Views: 198
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
Re: Time in terms of PHP

Ok, so then 1 minute would be written as 60 and 1 hour as 3600 and 1 day as 86400?
Forum: PHP Jul 18th, 2008
Replies: 5
Views: 163
Posted By Venom Rush
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
Posted By Venom Rush
Recovering deleted records from a MySQL database

Hi all

Is it at all possible to do this? I have a number of records that I need to recover.

Any help would be greatly appreciated
Forum: PHP Jul 3rd, 2008
Replies: 1
Views: 236
Posted By Venom Rush
Re: Copying contents of a server folder to another server folder

Found my solution...the great and wonderful (to me at least :P) scandir() function.
Forum: PHP Jul 3rd, 2008
Replies: 1
Views: 236
Posted By Venom Rush
Copying contents of a server folder to another server folder

Hi there

I'd like to know if this is at all possible...I'm sure it is but I haven't been able to find a single function that would do this in php.net's manual. The only function I've found is the...
Forum: PHP Jul 2nd, 2008
Replies: 7
Views: 603
Posted By Venom Rush
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
Posted By Venom Rush
Re: Retaining textbox values

Are you trying to carry the textbox data over to a different page?
Forum: PHP Jul 2nd, 2008
Replies: 1
Views: 204
Posted By Venom Rush
Re: Changing server folder name using PHP

found my answer....will test it out but I'm pretty sure it'll work

http://www.php.net/manual/en/function.rename.php
Forum: PHP Jul 2nd, 2008
Replies: 1
Views: 204
Posted By Venom Rush
Changing server folder name using PHP

Hi all

Just curious to know if this(thread heading) is at all possible. Haven't been able to find anything on the net so far.
Forum: PHP Jul 2nd, 2008
Replies: 7
Views: 603
Posted By Venom Rush
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
Posted By Venom Rush
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
Posted By Venom Rush
Re: Hiding half shown content in a div with the overflow property

Ok, if that's the case then surely it would show an entire sentence instead of just the top half of every word???
Forum: PHP Jun 18th, 2008
Replies: 7
Views: 603
Posted By Venom Rush
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
Posted By Venom Rush
Re: Hiding half shown content in a div with the overflow property

The website is going to be viewed by the general public. I was hoping there might be a solution that would work for everyone. Thanks for your effort though sreein ;)
Forum: HTML and CSS Jun 18th, 2008
Replies: 7
Views: 729
Posted By Venom Rush
Re: Hiding half shown content in a div with the overflow property

This is what I have. What happens on some pages with this structure is that the text is half shown at the bottom of the div. What I would like to know is if it's possible to hide that text until...
Showing results 1 to 40 of 181

 
All times are GMT -4. The time now is 1:07 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC