Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. z3phir

    how to get the curent page

    i just need to get the name of the page example http://www.somedomain.com/test.php i just need to get the test.php
  2. z3phir

    how to get the curent page

    hi ! i need a function or something to get the page i'm on so that i can pass it in a variable inside a form. i know that referrer dosen't work too good so i want to try using a var. how do i do that or if someone has a better ideea i would be glad to hear it. 10x in advance
  3. z3phir

    selection problem

    hi ! i use this to get the value of a row from a database $string = "select * from voci where formid='$formid'"; $result=mysql_query($string); $row=mysql_fetch_array($result); $vociid = $row[vociid]; it works great but i have one problem i need to get the smallest value from all rows...
  4. z3phir

    $_POST problem

    hi ! i have a form and i submit some values using post in the form i use somehting like this $nrvoci=$_REQUEST['nrvoci'];$i=0; while ( $i<= $nrvoci){?> <tr><td width=&quot;100&quot;>Nr. <? print $i ?></td> <td width=&quot;100&quot;><select name=&quot;fieldnr<?print $i?>&quot...
  5. z3phir

    how to set a mysql row to null ?

    how do i set a mysql row to null ? example i have table forms with field formid how do i set it to null ?
  6. z3phir

    Can you post from a hyperlink?

    sleipnir214 i didn't said that your answer was bad i just said if he want to use globals=off in php.ini $_REQUEST will be the solution. I just showed him another solution. Sorry if i upset you it wasn't my intention. Best regards Ionut Popa
  7. z3phir

    php and html source code beautifier ?

    by beautifier i mean reorganize and pretty up my source code. anyone ? 10x for the previous responses.
  8. z3phir

    Can you post from a hyperlink?

    or you can use <a href=&quot;/somescript.php?foo=3&quot;>here</a> and get the var with request if you want to work with globals off foo=$_REQUEST['foo'] hope this helps too
  9. z3phir

    php and html source code beautifier ?

    hi ! anyone has a source code beautifier for php and/or html ? shareware or freeware dosen't matter. 10x in advance.
  10. z3phir

    i don't know whay is not working ?

    Nope i tried still dosen't work. For the variable please use 1. Best regards.
  11. z3phir

    i don't know whay is not working ?

    sorry i don't have acces to the error log on the server.
  12. z3phir

    i don't know whay is not working ?

    didn't resolve nothing. any other advice ?
  13. z3phir

    i don't know whay is not working ?

    sorry about that here is the source code #!/usr/bin/perl -w use strict; use CGI; use CGI::Carp qw(fatalsToBrowser); my $headfile = 'header.txt'; my $footfile = 'footer.txt'; my $twfx_file = 'tplates.dat'; my ($uselock, @headinfo, $headline, $heading, @footinfo, $footline, $footer); my...
  14. z3phir

    i don't know whay is not working ?

    but i did place a link to the code on my computer i use my $filenumber ='1'; on my site my $filenumber = $ENV{'QUERY_STRING'}; to get the script use http://www.totalwebfx.com/test/parse.pl and the data file http://www.totalwebfx.com/test/tplates.dat for heder and footer...
  15. z3phir

    i don't know whay is not working ?

    nope didn't welp ! please test the script i think i don't use the $ENV{'QUERY_STRING'}; corectly.
  16. z3phir

    i don't know whay is not working ?

    please anyone knows what i'm doing wrong ? i'm new to perl and this is my first script. when i test it on my computer it works when i upload it to my website it dosent P.S: scuse my bad english on my computer i use my $filenumber ='1'; on my site my $filenumber = $ENV{'QUERY_STRING'}; to get...

Part and Inventory Search

Back
Top