Jump to content

[SOLVED] PHP Compare Two Numbers


Spartan 117

Recommended Posts

Hello, I am doing something with php and I needed some help.

 

I would like to know if there is a script or something that will automatically upload a file in a static directory (the file is a .txt with a nuber written in it, ie: 14). I would then like the script to check a file on the server (which is another txt with another number, ie: 16). I would then like to know if the first number is lower than the second one, and if so redirect to a new page, and if not it will do nothing.

 

I have no clue how I would do this or even if it is possible. Could someone please help me?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/49578-solved-php-compare-two-numbers/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.