Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 2.09 seconds.
Search: Posts Made By: tangoforce
Forum: PHP 06-18-2013, 05:21 PM
Replies: 1
Views: 66
Posted By tangoforce
Rao, This depends on a couple of things. ...

Rao,

This depends on a couple of things.

Are you simply reading the entire file into memory (eg every single record) or are you reading it in one line at a time and then writing it to a...
Forum: PHP 06-18-2013, 03:29 PM
Replies: 16
Views: 309
Posted By tangoforce
It may have limited uses.. such as if you have a...

It may have limited uses.. such as if you have a large site (yahoo, msn) that is mirror'd on several servers that pull their front page content from a database - then it would be useful as it will...
Forum: PHP 06-18-2013, 02:37 PM
Replies: 16
Views: 309
Posted By tangoforce
I think it's pretty safe to say that when a...

I think it's pretty safe to say that when a program like this is causing problems with dynamic content, the domain exclusion list is probably as equally useless. If the authors of varnish couldn't...
Forum: PHP 06-18-2013, 12:05 PM
Replies: 3
Views: 90
Posted By tangoforce
None that spring to mind really. You'd need to...

None that spring to mind really. You'd need to hit google as cron is setup different on different servers (eg cpanel is different to plesk). If you're on a windows server then you can forget it...
Forum: PHP 06-18-2013, 11:53 AM
Replies: 3
Views: 90
Posted By tangoforce
Yes, stick the email addresses in a table with a...

Yes, stick the email addresses in a table with a timestamp of the time when they submitted the form. Run a daily cron script that then goes through this table and checks for addresses that are 3 days...
Forum: PHP 06-18-2013, 11:39 AM
Replies: 16
Views: 309
Posted By tangoforce
caching anything that should dynamically change...

caching anything that should dynamically change with every http request isn't a good idea. It's only really useful for things like public homepages where the data needs to be generated once and...
Forum: PHP 06-18-2013, 11:32 AM
Replies: 7
Views: 186
Posted By tangoforce
No I have simply made a point that there are much...

No I have simply made a point that there are much better and efficient ways of doing things - as the op had already done. Instead you're trying to create more work for them yet apparently because I...
Forum: PHP 06-17-2013, 10:39 PM
Replies: 1
Views: 155
Posted By tangoforce
A seperate table for subcategories? - Whatever...

A seperate table for subcategories? - Whatever happened to the parent setup?

Normally what we do is to have top level categories any anything below has a parent that is set to the top category's...
Forum: PHP 06-17-2013, 03:05 PM
Replies: 6
Views: 99
Posted By tangoforce
If you could tell us what the problem is and what...

If you could tell us what the problem is and what the symptoms are perhaps we could help :thumbsup:

Just telling us it doesn't work is like me telling you that all bits of string are exactly 42cm...
Forum: PHP 06-17-2013, 03:02 PM
Replies: 7
Views: 186
Posted By tangoforce
Junsee don't be offended but there are much...

Junsee don't be offended but there are much better ways than echoing every line and until you're familiar with those techniques you might not be best placed to be providing advice.

Methods such as...
Forum: PHP 06-17-2013, 10:08 AM
Replies: 16
Views: 309
Posted By tangoforce
Oh right I see.. well it's a point I suppose but...

Oh right I see.. well it's a point I suppose but if it's a public website delaying things by 100 seconds would loose many visitors so thats not really workable either.

If you're a typical user and...
Forum: PHP 06-16-2013, 11:46 PM
Replies: 16
Views: 309
Posted By tangoforce
If that was in the code the developer would know...

If that was in the code the developer would know about it don't you think? - That kind of code doesn't just appear from nowhere when moving php files from one server to another.

@Thyrosis: It may...
Forum: PHP 06-16-2013, 09:12 PM
Replies: 16
Views: 309
Posted By tangoforce
Only thing that immediately springs to my mind is...

Only thing that immediately springs to my mind is that the HDD is busy and can't physically perform a disk write quick enough for the session vars to be unset.

No idea what varnish is about,...
Forum: PHP 06-16-2013, 03:15 PM
Replies: 4
Views: 146
Posted By tangoforce
For select statements, mysql_query will return...

For select statements, mysql_query will return false on error.

What did phpmyadmin say when you put the query through there to TEST it? - have you even tried?
Forum: PHP 06-16-2013, 03:14 PM
Replies: 10
Views: 212
Posted By tangoforce
Impossible. Even if you had put that inside your...

Impossible. Even if you had put that inside your if () conditional then the ; on the end would give you a parse error. It's impossible for you to see the not mailed message.

Show your latest code...
Forum: PHP 06-15-2013, 11:42 PM
Replies: 3
Views: 191
Posted By tangoforce
As the man said: Fatal error: Cannot redeclare...

As the man said:
Fatal error: Cannot redeclare inner() (previously declared in /t.php:6) on line 5

So there we have it then :thumbsup:
Forum: PHP 06-15-2013, 11:11 PM
Replies: 3
Views: 165
Posted By tangoforce
Potentially yes. You could however...

Potentially yes.

You could however theoretically use ini_set() and then declare your disabled functions such as mail(), mysql_connect() etc.

Also if you were to do that, be sure to disconnect...
Forum: PHP 06-15-2013, 11:08 PM
Replies: 3
Views: 191
Posted By tangoforce
Helpfully you've not told us what that error...

Helpfully you've not told us what that error actually is :rolleyes:

Anyway I ran your code through codepad and got this error:
Fatal error: Call to undefined function inner() on line 15

That...
Forum: PHP 06-15-2013, 11:02 PM
Replies: 3
Views: 165
Posted By tangoforce
Would it not just be better to use php directly...

Would it not just be better to use php directly and run it through the eval() function?
Forum: PHP 06-15-2013, 07:49 PM
Replies: 10
Views: 212
Posted By tangoforce
Jarv, do you honestly not see the missing part?...

Jarv, do you honestly not see the missing part? :confused:

I'm not solving this for you, you can see the difference yourself.
Forum: PHP 06-15-2013, 01:59 PM
Replies: 10
Views: 212
Posted By tangoforce
Show your latest code please.

Show your latest code please.
Forum: PHP 06-14-2013, 09:56 PM
Replies: 7
Views: 204
Posted By tangoforce
And now you've mentioned that, you get two more...

And now you've mentioned that, you get two more people reply :D

See what I was getting at? :thumbsup:
Forum: PHP 06-14-2013, 03:18 PM
Replies: 7
Views: 204
Posted By tangoforce
What you're asking is essentially help to build...

What you're asking is essentially help to build an entire site from what I can understand - people are busy with their own projects.

If you have a specific problem with your code then tell us and...
Forum: PHP 06-14-2013, 01:12 PM
Replies: 4
Views: 142
Posted By tangoforce
Pot and Kettle? - I've yet to see you start a...

Pot and Kettle? - I've yet to see you start a sentence with a capital and end it with a full stop lol :D :thumbsup:

Anyway I have no idea whats with all the sha1() business here and this line:
...
Forum: PHP 06-14-2013, 01:04 PM
Replies: 10
Views: 212
Posted By tangoforce
mail() returns a boolean value so that you know...

mail() returns a boolean value so that you know if it successfully passed the mail to the sender program or not.

Therefore you should always put this call to mail() inside an if () conditional...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 01:08 AM.