Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 0.63 seconds.
Search: Posts Made By: Velox Letum
Forum: PHP 12-07-2007, 09:47 PM
Replies: 18
Views: 1,221
Posted By Velox Letum
Clearly you're not explaining it well enough...

Clearly you're not explaining it well enough then. The simple solution is, don't make something that can be submitted multiple times through reloads. Whatever you do, it has to be a server-side...
Forum: PHP 12-01-2007, 06:49 AM
Replies: 7
Views: 948
Posted By Velox Letum
Contrary to the poster above me, I'd recommend...

Contrary to the poster above me, I'd recommend Ubuntu for a developer. I use it to great effect. All one must do is apt-get install subversion and then follow a guide (skip Getting, Configuring and...
Forum: PHP 11-22-2007, 04:29 AM
Replies: 11
Views: 1,195
Posted By Velox Letum
PHP4 is outdated now. PHP5 has many more useful...

PHP4 is outdated now. PHP5 has many more useful functions, and is much faster. There's plenty of other places with PHP5 that are cheap.
Forum: PHP 11-22-2007, 04:27 AM
Replies: 7
Views: 1,062
Posted By Velox Letum
I assumed you knew how to use MySQL databases...

I assumed you knew how to use MySQL databases with PHP.

Check out http://www.php-mysql-tutorial.com/ and other tutorials around the internet, or buy a book.
Forum: PHP 11-22-2007, 12:00 AM
Replies: 4
Views: 896
Posted By Velox Letum
Do you mean that you wish to store which option...

Do you mean that you wish to store which option they select and submit the form? Well, $_POST['colors'] will have the color they selected.
Forum: PHP 11-21-2007, 05:10 AM
Replies: 4
Views: 773
Posted By Velox Letum
CFMaBiSmAd is correct. Accessing an external...

CFMaBiSmAd is correct. Accessing an external variable isn't the best way to go about things. Superglobals such as $_POST are accessible. Globals can be used but just pass things you need through the...
Forum: PHP 11-21-2007, 05:07 AM
Replies: 7
Views: 1,062
Posted By Velox Letum
It doesn't change the order. It's the order it...

It doesn't change the order. It's the order it retrieves the data in this particular query.

SELECT updateTime FROM news ORDER BY updateTime DESC LIMIT 1

Will select the time of the latest...
Forum: PHP 11-21-2007, 03:53 AM
Replies: 2
Views: 654
Posted By Velox Letum
You don't, your browser decides if it needs to....

You don't, your browser decides if it needs to. If you want, you can send cache headers with the header() (http://www.php.net/function.header) function.
Forum: PHP 11-21-2007, 03:44 AM
Replies: 7
Views: 1,062
Posted By Velox Letum
A time updated that any row is updated? Well,...

A time updated that any row is updated? Well, instead of making a separate table for the status of the last update, you can query the table with the rows sorted descending on the date column and use...
Forum: PHP 11-21-2007, 03:41 AM
Replies: 4
Views: 696
Posted By Velox Letum
If you mean for others viewing the user's status,...

If you mean for others viewing the user's status, then you'll have to store it in a database. You can pretty easily store sessions in a database (see articles below) and then query the sessions table...
Forum: PHP 11-20-2007, 04:04 AM
Replies: 2
Views: 928
Posted By Velox Letum
Take a look at...

Take a look at http://archivist.incutio.com/viewlist/css-discuss/37970 and the comments on http://www.php.net/function.mail
Forum: Post a PHP snippet 11-20-2007, 03:50 AM
Replies: 14
Views: 32,171
Posted By Velox Letum
I couldn't say. It was so long ago I can hardly...

I couldn't say. It was so long ago I can hardly remember why I'd done a few things the way I did. :o
Forum: MySQL 05-07-2007, 05:50 PM
Replies: 1
Views: 917
Posted By Velox Letum
Yes, your only recourse is to do this manually,...

Yes, your only recourse is to do this manually, at least as far as I know before MySQL 5. It's not too difficult though if you use a database class and you put in some logic to log changes upon...
Forum: MySQL 05-07-2007, 05:46 PM
Replies: 1
Views: 693
Posted By Velox Letum
Three seconds isn't too bad for a fulltext...

Three seconds isn't too bad for a fulltext boolean search. Can you post the EXPLAIN SELECT for that query?
Forum: PHP 01-23-2007, 09:44 PM
Replies: 5
Views: 1,336
Posted By Velox Letum
You could do it like vBulletin, have a cron.php...

You could do it like vBulletin, have a cron.php script which checks if an event has passed (record the time last executed, etc.) and execute when someone loads a page and it's past or at time.. If...
Forum: PHP 01-23-2007, 07:34 PM
Replies: 5
Views: 1,142
Posted By Velox Letum
Your rewrite rule is broken, that's why Apache is...

Your rewrite rule is broken, that's why Apache is returning a 500 error. Probably the lack of an escape for the period in .html.
Forum: Post a PHP snippet 01-23-2007, 07:30 PM
Replies: 8
Views: 6,216
Posted By Velox Letum
That's a rather contrived use. If you want to...

That's a rather contrived use. If you want to block hotlinking, there's much easier ways to do so, such as rewrite rules.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond ...
Forum: PHP 01-16-2007, 08:37 PM
Replies: 4
Views: 1,066
Posted By Velox Letum
To escape data for insert into MySQL databases,...

To escape data for insert into MySQL databases, use mysql_real_escape_string() (http://www.php.net/function.mysql-real-escape-string).
Forum: PHP 09-09-2006, 05:40 PM
Replies: 5
Views: 804
Posted By Velox Letum
Use regex to verify that it's a URL.

Use regex to verify that it's a URL.
Forum: PHP 09-09-2006, 05:38 PM
Replies: 16
Views: 1,578
Posted By Velox Letum
You aren't even attaching the file, just telling...

You aren't even attaching the file, just telling it has a file by the name of backup.zip.
Forum: Geek News and Humour 09-09-2006, 05:32 PM
Replies: 48
Views: 5,364
Posted By Velox Letum
People who use IE7 shall be burned at the stake!...

People who use IE7 shall be burned at the stake! Heathens!
Forum: PHP 08-31-2006, 04:19 AM
Replies: 10
Views: 749
Posted By Velox Letum
What they are saying is that your value doesn't...

What they are saying is that your value doesn't exist. Undefined index means the index you're using for the $_SESSION superglobal array doesn't exist, and thus the error. Run print_r($_SESSION); and...
Forum: PHP 08-16-2006, 07:41 AM
Replies: 2
Views: 710
Posted By Velox Letum
No, it's a part of Apache, the webserver.

No, it's a part of Apache, the webserver.
Forum: Post a PHP snippet 08-16-2006, 06:04 AM
Replies: 25
Views: 27,981
Posted By Velox Letum
It looks like you managed to implement it...

It looks like you managed to implement it alright, or are you still struggling?

jr_yeo: That file is a non-issue as it was only an example written straight into the text editor here on CF.
Forum: PHP 04-23-2006, 08:57 PM
Replies: 1
Views: 665
Posted By Velox Letum
Run it through GD (make sure it can be opened),...

Run it through GD (make sure it can be opened), and if it can run a filter on it to modify the contents, or resize it, etc., just something so that the image is changed. That way, any code that might...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 10:18 PM.