Jump to content

sad_sam19

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

sad_sam19's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for your reply ..i saw a post from the php.net site that goes like this.. ob_start(); $StartTime=microtime(1); .. webpage data goes here .. printf("%s seconds to produce (%skb/sec)", microtime(1)-$StartTime, Round((ob_get_length()/(microtime(1)-$StartTime))/1024)); ob_end_flush(); .. is this the exact code i'm looking for? thanks
  2. Hi guys! Once the page is loaded from the client, i need to get their bandwidth. But i have no idea for the formula or calculations. help please :'( thanks
  3. g'am!i'm really greatful for your help! ,. ok, the situation is this, we have a dtr system installed on our branches,.the database is also their and it is password protected,.they are accessing their dtr report through php/html and can be exported into excel to be able to print it and counter sign it then submit it here to the head office,.what i needed to do is to protect that particular excel report so that it cannot be modified by the branches,.they must be allowed only to encode the preparing person and the approving person then modify the page setup or margins to be able to print it properly,.please help, .thank you very much
  4. thank you for the attention,. ,. My answer for your 1st and 2nd question is yes,. i don't want them to edit the details on the particular cells of the exported excel report because it is based from database so there is no need to modify it,.they must only modify the 'page setup' settings of the report and print it,..since i dont want them to modify the details of the report,they must not be able to use the 'save' or 'save as' of the excel,..please help ,.thank you very much in advance ,.
  5. somebody please help me about protecting the generated excel files,. the problem is this,.i developed a web based generated report that can be exported into excel,the exporting part is done by using the fwrite function,. what i needed to do is to protect the exported excel report so that the user cannot modify,cut, and copy the report. They must be allowed only to print and change the page set up of the report. Also, i need to disable the Save and Save As of the excel report,. please help me and thank you so much in advance!!!
  6. ok thanks for all your help!,.
  7. hello everyone! I am working on a project that will create a Word document. On my computer, it is working properly. But on the server where i loaded the program it has errors. I just got one question, does COM class will not work on a computer if it does not have MS Office installed on it? I already checked the Component Services, etc.. But it still not working properly,. the error goes like this.. Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `word.Application': Invalid syntax ' in D:\webservr\ins_monitoring\REPORTS\prepare_renewal_advice.php:43 Stack trace: #0 D:\webservr\ins_monitoring\REPORTS\prepare_renewal_advice.php(43): com->com('word.Applicatio...') #1 D:\webservr\ins_monitoring\REPORTS\ForRenewalThisMonth.php(33): include('D:\webservr\ins...') #2 {main} thrown in D:\webservr\ins_monitoring\REPORTS\prepare_renewal_advice.php on line 43 please help :'( thanks!!
  8. Gud morning to all! I'm new to this forum and I hope somebody could help me about arrays. I 'am not gud on explaining things so please try to understand. my problem is, i want to keep the value of my two dimensional array on a form. for example.. PAGE1.PHP $nodep = 2; // ' this part should also be array, right?but how? $name = $_POST['name']; $age = $_POST['age']; $yr = $_POST['yr']; $school = $_POST['school']; <form method='post' action='page2.php'> for($i=1;$i<=$nodep;$i++) { for($j=1;$j<=4;$j++) { echo"<input type='text' name='name[$i][$j]' value='i don't know what to put here to restore my value from page2.php'>"; $j++; echo"<input type='text' name='age[$i][$j]' value='i don't know what to put here to restore my value from page2.php'>"; $j++; echo"<input type='text' name='yr[$i][$j]' value='i don't know what to put here to restore my value from page2.php'>"; $j++; echo"<input type='text' name='school[$i][$j]' value='i don't know what to put here to restore my value from page2.php'>"; $j++; } } <input type='submit' value='go to page2'> </form> PAGE2.PHP $nodep = 2; // ' this part should also be array, right?but how? $name = $_POST['name']; $age = $_POST['age']; $yr = $_POST['yr']; $school = $_POST['school']; <form method='post' action='page1.php'> for($i=1;$i<=$nodep;$i++) { for($j=1;$j<=4;$j++) { echo" $name[$i][$j]? "; $j++; echo" $age[$i][$j]? "; $j++; echo" $yr[$i][$j]? "; $j++; echo" $school[$i][$j]? "; $j++; } } <input type='submit' value='go to page1'> </form> please help me out..thank you so much!!
×
×
  • 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.