php_coder_dvo
-
Posts
18 -
Joined
-
Last visited
Never
Posts posted by php_coder_dvo
-
-
[code]
for($i = 1; $i<=5; $i++){
//do something here;
}
[/code]
then create an algorithm that will compute of the 1 to 5 view is page 1, 6 to 10 is page 2 and so forth.. -
the best thing is try it online :-)
-
use SESSION variable or COOKIES... and test if its equal to client side, then you can play on that...
-
can you give more details???
-
[quote author=jana link=topic=110938.msg449643#msg449643 date=1160456306]
can i integrate crystal reports with php and mysql?
[/quote]
No.... I dont think so, why not format your page in a descent view... -
why you dont use javascript for validating..
-
are you trying to run that script on youre local computer or on live server?
-
put that thing in array, and then in filter search that value in array. if it exists continue, if not exit...
-
last_page = total_page / view_per_page
use ceil function to get the value as a whole number. -
use "include" exsample : include("name_of_the_external_page.php");
-
Ok, I understand, Thank You very Much Guys, GOD BLESS....
-
the file is not on the same place, the php script was ont the linux, and that script can browse a csv file, assuming that the file was on the windows
-
yes the file does exist, you see i created a script to browse file particularly csv, and when the user select a csv file on the windows platform, the script or the fopen function cannot read the file... my php script was on the linux server... cause i assume that the user wants to browse csv on the windows..
tnx for the reply, and help.. -
can anyone help me, why i cannot open a file particularly CVS file.
here it goes, I create a scipt to open a csv file and import it to the database. Using the html input type="file" to brows a csv file. I tried it on the windows (winxp) the script works very fine, however when i upload it to my server which is linux. when i browse a csv file, i had an error
"[color=red]Warning: fopen(PARTNER_REPORT_USA_.CSV): failed to open stream: No such file or directory in /opt/lampp/htdocs/freshfire.ca/cms_admin/import.php on line 8
Warning: fgetcsv(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/freshfire.ca/cms_admin/import.php on line 10[/color]"
and im stuck on this error. tnx guys for your help....
-
[!--quoteo(post=359619:date=Mar 29 2006, 03:59 AM:name=shocker-z)--][div class=\'quotetop\']QUOTE(shocker-z @ Mar 29 2006, 03:59 AM) [snapback]359619[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Your server or most likly the hosted server that you are using is running in SAFE MODE which restricts alot of permissions when running PHP scripts
[/quote]
is it ok if i turn it off?? by the way thank you for the reply... -
Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 505 is not allowed to access /home/virtual/site3/fst/var/www/dev/UserFiles/Images/www owned by uid 48 in
Retriving data from an external website...
in PHP Coding Help
Posted