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 SkipVought 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: *

  • Users: hisham
  • Order by date
  1. hisham

    Good IDE for PHP? (new news)

    Xcode developer tools for MAC http://developer.apple.com/internet/scripting/phpappledevtools.html
  2. hisham

    time before re-run

    You are right jpadie, but I need to send email to my 1500 newsletter subscribers, my code must loop and retrieve the email addresses form the database and send first 100, then the code must stop for 5 seconds and retrieve the next 100 etc ... , to give the SMTP server a considerable chance to...
  3. hisham

    time before re-run

    How to make a php code is capable of waiting for a given number of seconds before re-run again? Thanks in Advance.
  4. hisham

    convert a txt file to XML

    exactly, To convert the file into sql dump: <LID>1</LID> <AYAID>1</AYAID><AYA>text1</AYA> <AYAID>2</AYAID><AYA>text2</AYA> <AYAID>3</AYAID><AYA>text4</AYA> <AYAID>4</AYAID><AYA>text5</AYA> <LID>2</LID> <AYAID>1</AYAID><AYA>text1</AYA> <AYAID>2</AYAID><AYA>text2</AYA>...
  5. hisham

    convert a txt file to XML

    i have a text file contains ie: # my_first_title # my first subtext . my second subtext . my third subtext . # my_second_title # my A_first subtext . my A_second subtext . my A_therd subtext . etc... Question: How to convert it to XML using php? to : <title> my_first_title </title> <text>my...
  6. hisham

    split a string

    Thank you all, Now I use this code for non Latin text: <? $text = "632YourNonLatinText"; preg_match('/^([0-9]+)*([^.]+)*/i',$text,$matches); echo "this is $matches[1] and $matches[2]"; ?>
  7. hisham

    split a string

    I have the following series of strings ie: $str = "7hi" or $str = "15hello"; my question: how to print : " this is 15 and hello " I tried : <? $str = "15hello"; $results = preg_split('/^[0-9]+/', $str); echo "this is $results[0] and $results[1]"; ?> but it wont print $results[0] as 15 !! it...
  8. hisham

    recovery vaio, no cdrom

    Thank you linney for your reply. the CDROM drive is not working, this is the main problem. bios allow to boot via network, I'm looking for the scenario and what must I do to reach some share in the network to boot the recovery CDs.
  9. hisham

    recovery vaio, no cdrom

    i post this in: PC hardware - Hard drive issues forum vaio laptop can't boot via cdrom, i installed linux on it using networking boot, I'm looking to recover the XP . is there any method to boot over network and reach some share to boot the recovery CDs? thanks in advance .
  10. hisham

    vaio recovery without cdrom

    vaio laptop can't boot via cdrom, i installed linux on it using networking boot, I'm looking to recover the XP . is there any method to boot over network and reach some share to boot the recovery CDs? thanks in advance .
  11. hisham

    working with file

    I have the folloing html file: ------------------------- 1:1 first record<br> <br> 1:2 another one<br> <br> 1:3 this one<br> <br> 1:4 last record<br> <br> ------------------------- I need to insert the data of this file in a mysql DB table as: insert into my_table ( foo, bar, mytext ) values...
  12. hisham

    cyrus-imapd and port 143

    I installed The cyrus-imapd package on FC3, then: chkconfig --level cyrus-imapd on chkconfig --list I get: cyrus-imapd 0:off 1:off 2:on 3:on 4:on 5:on 6:off but still the server does not have a service running on port 143 (imap). any help ? Thanks in advance
  13. hisham

    vps FC3

    i have no access to webmin support.
  14. hisham

    vps FC3

    nothing, just they provide the vps with some aplications installed, as webmin.
  15. hisham

    vps FC3

    I have a vps FC3 with fixed IP and webmin 1.220 installed. how can i add domains using webmin? Thanks in advance
  16. hisham

    create function !!

    thank you vacunita, here a sample code <?php include("navbar.php"); $nav = new navbar; $nav->numrowsperpage = 5; if ($cat == "three"){ switch ($sec) { case "1": $sql = "select * from my_table where my_id = 1 and my_link = 'my_lnk1' "; $result = $nav->execute($sql, $db...
  17. hisham

    create function !!

    exactly, and thanks for answer.
  18. hisham

    create function !!

    to create the following code: $sql = "select * from my_table where my_id = $id and my_link = '$link' "; $result = $nav->execute($sql, $db, "mysql"); $rows = mysql_num_rows($result); for ($y = 0; $y < $rows; $y++) { $data = mysql_fetch_object($result); echo...
  19. hisham

    create function !!

    I have a large switch statement to compare the $id and $link variables with many different values, and want to use the following code in this statment: -------------------------------------------------------------- $sql = "select * from my_table where my_id = $id and my_link = '$link' "...
  20. hisham

    Upload Images from folder to Mysql Database with PHP

    I use the following code to store image in a database: ------------------------------------- <?php if (!$_POST['uploaded']){ ?> <form action="<? echo $_SERVER['PHP_SELF']; ?>" method="post" ENCTYPE="multipart/form-data"> Upload:<br><br> <input type="file" name="image"><br><br> <input...

Part and Inventory Search

Back
Top