AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters > Web Development
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Web Development Java/PHP/Perl/ASP and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Oct 2, 2002, 15:24   #1
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 7
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
Post PHP Problem

U menya komp PIV 1600, 512 RAM
Systema Win 2000 Advanced Server.
Pod IIS postavil MySQL i PHP.
Na php napisal poisk po baze, baza ne takaya uzh i bol'shaya, no kak tol'ko delayu submit formy, CPU dostigaetsya 100%, otkryvayu Task Manager, php.exe syedaet 300-400 Mb RAM-a.
Mozhet vy stalkivalis' s problemoj takogo roda?
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old Oct 2, 2002, 16:38   #2
Школьник
 
Join Date: Apr 2002
Location: Vanadzor
Posts: 227
Rep Power: 7
Reputation: 10
Post

de ete asum es PHP.exe-n a urem@ kodt a vat grac. ete karas gci nayenk.

bayc indz chi tvum vor kodic a, porci mi hat et zapros@ commandni strokaic tas, u kjoges php-i problemn a te mysql-i.
strax. is offline   Reply With Quote Quote selected
Old Oct 2, 2002, 16:52   #3
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 7
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
Post

Es unem mi hat glxavor table "projects"
u unem mi qani table, voronq kaxvac en et projects table-i ID-ic, u iranc mot pahum en ProjectID fieldum konkret projecti ID-n.
Zapros@ hetevyalna

$query = "SELECT project.ID, project.Name FROM project, project_location, project_healthcare, project_activity WHERE project.ID=project_location.ProjectID and project.ID=project_healthcare.ProjectID and project.ID=project_activity.ProjectID";

de heto el @st locationi, healthcare-i u activity-i parametreri search em anum.

if ($Region) $query .= " and (project_location.Marz LIKE '%$Region%' OR project_location.Town LIKE '%$Region%')";
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old Oct 3, 2002, 18:23   #4
Школьник
 
Join Date: Apr 2002
Location: Vanadzor
Posts: 227
Rep Power: 7
Reputation: 10
Post

porcecir et zapros@ command lineic tas?

hastat mysql-n a tkum.

mi hat porci u asa.
strax. is offline   Reply With Quote Quote selected
Old Oct 3, 2002, 18:57   #5
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 7
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
Post

Ha porceci
MySQL-na tqum.
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old Oct 3, 2002, 19:17   #6
Школьник
 
Join Date: Apr 2002
Location: Vanadzor
Posts: 227
Rep Power: 7
Reputation: 10
Post

de inch asem Aram jan, pti princip@ poxes poiski.
strax. is offline   Reply With Quote Quote selected
Old Oct 3, 2002, 20:02   #7
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 7
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
Post

Ba es et dzev txa em, vor im principnerin davachanem?
Whatever, thanks for comments.
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old Oct 6, 2002, 03:44   #8
Волк, просто волк...
 
_ WOLF _'s Avatar
 
Join Date: Jul 2002
Location: /dev/null
Posts: 250
Rep Power: 7
Reputation: 10
Post

Ar, UNIX-i tak pordzel es ashxatacnes scriptd u nayes te inch resursner a utum??
__________________
00000000h: 41 72 61 6D 20 4D 6B 68 69 74 61 72 79 61 6E;
_ WOLF _ is offline   Reply With Quote Quote selected
Old Jan 10, 2005, 14:01   #9
Профессор
 
Nikita's Avatar
 
Join Date: Jan 2005
Location: Perm
Posts: 2,142
Rep Power: 4
Reputation: 10
Send a message via ICQ to Nikita
a tablici imeyut Key-i
i proboval organizovivat` poisk opirayas` na nix ?
u menya select po tablice bez klyuchey zanimal okolo 30 sec
a s key-em men`she sekundi
Nikita is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:08.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link