![]() |
|
|||||||||
|
|||||||||
|
| Attention Visitor: |
| You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
||||||
| Discutii Generale Discutii generale despre PHP. |
![]() |
|
|
Thread Tools | Moduri de afișare |
|
|
#1 |
|
32-Bit Member
Data înregistrării: 12.07.2005
Vârsta: 27
Mesaje: 70
Rep Power: 7 ![]() |
salut! sunt si eu curios daca se poate detecta cu ajutorul php-ului marimea unei pagini php?
__________________
o noua versiune a lui http://beer.lx.ro o gasiti la http://www.douaberi.ro |
|
|
|
| Sponsored Links |
|
|
#2 |
|
64-Bit member
Data înregistrării: 06.02.2006
Locație: Romania
Vârsta: 27
Mesaje: 227
Rep Power: 7 ![]() |
Se poate, teoretic (nu am incercat). Vezi functiile:
get_included_files(): http://www.php.net/manual/en/functio...uded-files.php memory_get_peak_usage(): http://www.php.net/manual/en/functio...peak-usage.php memory_get_usage(): http://www.php.net/manual/en/functio...-get-usage.php Nu stiu exact la ce te referi cand zici marimea unei pagini dar cu functiile astea afli orice legat de cat ocupa un script php.
__________________
A good Manager will take you through the forest, no mater what. A Leader will take time to climb on a tree and say 'This is the wrong forest' blog.florindinu.ro - Another boring blog |
|
|
|
|
|
#3 |
|
Banned
Data înregistrării: 17.07.2009
Mesaje: 4
Rep Power: 0 ![]() |
The latest, trendiest Wholesale Citizens of Humanity Jeans. Buy the latest designer fashion Cheap Citizens Of Humanity, Chloé & more.
|
|
|
|
|
|
#4 |
|
128-Bit Member
|
Functiile enumerate sunt pentru altceva, pentru a afla marimea unui fisier in kilobytes s foloseste functia filsesize(string $filename) mai multe detalii despre functia asta si alte functii gasesti pe php.net.
http://www.php.net/manual/en/function.filesize.php
__________________
VoDoo Web Design http://www.vodoo.ro ------------------------- CGeorges - Ce gandesc citesti aici! http://cgeorges.com ------------------------- BlogCiting - It`s exCiting. Gazduire blog gratuita. http://blogciting.com |
|
|
|
|
|
#5 |
|
Spamofob
|
Daca vrei sa afli dimensiunea codului html afisat poti folosi output buffering. Daca vrei sa afli dimensiunea totala a paginii trebuie sa mai iei in considerare, pe langa dimensiunea codul html si dimensiunea codului css si javascript plus imaginile incarcate.
Daca asta e ceea ce vrei, da-mi un semn si o sa-ti postez codul pentru asa ceva.
__________________
www.luxian.ro | "Prieten e cel care te învață să pescuiești, nu cel care îți dă pește!" Oo==oO | w210 owner |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Moduri de afișare | |
|
|