Search found 9 matches

by serg4444
Fri Dec 20, 2002 8:09 am
Forum: PHP - Code
Topic: Need help with a edit page that would show all records in db
Replies: 2
Views: 812

You need call to db each page and send into next page descriptor of page#, at next page all row from previous page not show, from this page - has been shown


Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
by serg4444
Fri Dec 20, 2002 7:59 am
Forum: PHP - Code
Topic: PHP Search Engine Script - Help
Replies: 1
Views: 502

At many hostings you have ready-to-use search scripts, maybe you your hosting also have that?


Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
by serg4444
Fri Dec 20, 2002 7:53 am
Forum: PHP - Code
Topic: upload files, umask, mkdir - Error
Replies: 2
Views: 849

I use Windows commander for upload files by FTP - Files->Change Attributes - work for both Unix and Win NT servers

Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
by serg4444
Mon Dec 02, 2002 3:34 am
Forum: PHP - Code
Topic: The pics dir
Replies: 5
Views: 1201

Use a special function for that:
$ext=getimagesize($file);
if($ext[2]==1){$e=".gif";}
if($ext[2]==2){$e=".jpg";}
etc.
by serg4444
Mon Dec 02, 2002 3:26 am
Forum: PHP - Code
Topic: Image Resize Problem
Replies: 2
Views: 2417

Use this one - much easy :D $ext=getimagesize($file); if($ext[2]==1){$e=".gif";$src=imagecreatefromgif($file);} if($ext[2]==2){$e=".jpg";$src=imagecreatefromjpeg($file);} $image=$ImageName."_".$uid.$e; $view="./ima/".$image; $tn_w=80; $tn_h = floor($tn_w * ima...
by serg4444
Sat Nov 23, 2002 3:16 am
Forum: PHP - Code
Topic: Problems doing this edit form
Replies: 1
Views: 461

Yes, it will work for you

Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
by serg4444
Sat Nov 23, 2002 3:04 am
Forum: PHP - Code
Topic: session_start();Cookies
Replies: 3
Views: 985

Change access rules to folder where you want store your info

Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
by serg4444
Sat Nov 23, 2002 2:59 am
Forum: PHP - Code
Topic: Table Layouts using PHP
Replies: 2
Views: 590

You even don't need PHP, you can use ssi: make extention for your web-pages like .shtml and write <-#include file="file.html"->

Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
by serg4444
Fri Nov 22, 2002 10:27 am
Forum: PHP - Code
Topic: Session problem !
Replies: 3
Views: 769

You can use HTTP_GET_VARS for see each values you receive at your page

Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com