Jump to content

phpfan

Members
  • Posts

    37
  • Joined

  • Last visited

    Never

Everything posted by phpfan

  1. Thanks for the help ToonMariner & AndyB...
  2. Hi All!! I have recently develop a website for a friend of me and he asks me to use Forte Fonts. The problem is that in some browsers the fonts appear as they should but in some others they appear like Arial Fonts. ??? Any ideas and help will be much appreciated.
  3. Hi I finally manage to solve the problem. As everybody guide me the unlink command actually can delete the picture i was just passing a wrong variable to the command and although that the system seems to work ok the picture was not removed. Thanks for the help
  4. Hi I have tried using the unlink command but the image still remains in the folder, on the server i want to actually delete the image like using the delete option in windows. Is that possible? ???
  5. Hi php coders!!! I am developing a website that requires to upload, update and delete images. I have successfully managed to upload and update the required pictures but i have some problems when i try to delete the images. Actually i am using the unlink command in order to delete the images but the image is not deleted form the server. Because my client needs to upload images frequently, we cannot afford keeping the old images on the server. How i can actually delete the images and remove them from the server? Thanks for the help in advance
  6. I have tried to set the width to a % instead on a constant value but the tables now resize according to the text that exist inside and i have to scroll horizontally to view all the content.... ???
  7. What to you mean by FORCE the width??? Make the with 100% instead of a constant value??
  8. Thank you for your help, i actually open a thread in Miscellaneous and i get immediate response..
  9. I know that the transfer can be done by almost every domain resistant but i would like one that a member of phpFreaks has used for a long time and really believes that they are reliable... Anyway thank you very much for your suggestion tomfmason i will check your recommendation..
  10. Hi all I have a problem and i think the solution can be fount using JavaScript code.. Actually i want to create a website that will be able to resize automatically according to the visitor's screen resolution.. If any of you have try this before or can point me to any kind of tutorials i will appreciate it very much.. Thank You
  11. I would like first to try to transfer at least one of my register domains which is used from a company which has sponsor one of my projects for developing an e-commerce system based on some research that I have done… That domain name is very important to me and I don’t want to risk loosing it…. I currently don’t know any reliable domain and hosting provider, so if any of you who have experience in this area suggest me a provider i will appreciate it very much....
  12. I am from Cyprus, a small island in the Mediterranean sea, but we are members of the European union so they may have some regulations about it, but because i am currently leave in UK as i am student i don't know where i can refer to...
  13. Hi all I have a huge problem with my hosting provider (www.registerfly.com - NOT RECOMMENDED) as they refuse to answer any of my emails and there phones do not seem to work. I am very disappointment by them and i do not know what to do. They even do not answer my email when i ask them to transfer my domain name in other hosting company... i also have an amount of money in my online account which i cannot use. They totally ignore me... My domain expires in a mount and i had to take some action before is too late as i am afraid that i will lost my domain name (i have read that they are used to "steal" and re-seller domain names or deny access to there owners). Any ideas...
  14. Hi all I think it will be very helpful for a lot of users, if you create a new forum where people can discuss any hosting problems, make suggestions or give advice... I have a huge problem with my hosting provider as they refuse to answer any of my emails and there phones do not seem to work. I think lot of users may experience same or any other kind of problems and will be good to have a forum to discuss about it. I am very disappointment by them and i do not know what to do. They even do not answer my email when i ask them to transfer my domain name in other hosting company... i also have an amount of money in my online account which i cannot use... :-\
  15. Hi all I have tried that and work perfect. Thanks AndyB you have been very helpful and also thanks to all that gave me there advice on this matter....
  16. I am currently experienced some problems with my ftp connection and i cannot try what i have found, but if am correct i have to change my existing mail () function and at the email headers also add Content-Type:text/html
  17. Because my system generates automatic email confirmations, i need to store the values without any symbols otherwise the symbols are presented to the confirmation email.. For example if a variable is stored in the database as Yoshimura Full Exhaust System <em> (Colour: Carbon)</em> then the email sent to the user will present the ordered item as Yoshimura Full Exhaust System <em> (Colour: Carbon)</em> They cannot recognize the em or any other symbols so they present them as characters..... ???
  18. I still experience the same results... PHP seems to read them em symbols and produce italic characters when i echo the string, but when i try to save it in the database the string seems to combined as a whole an stored as a whole...
  19. Hi I have the following code $NAME = $NAME. " <em>". $detailsName. "</em>"; but the result in the field look like this Yoshimura Full Exaust System <em> (Colour: Carbon)</em> I have enter the result in the code tags because i wanted to show the em symbols
  20. I have try to use the em tags but still the same result... How i can use strip_tags() ?
  21. Hi I recently experienced the following problem i would like your opinions or solutions about it.... I want to output a combined string to my website a string that consists of regular and italic letters. To do that i use the followung code $NAME = $NAME.'<i>'.$detailsName.'</i>' The string is created correctly and the output look like the this: Yamaha YZF R1 But when i try to store the variable $NAME in my database the value that is stored look like this: Yamaha<i>YZF R1</i> Is there any way that i can store the variable name without the italic symbols... ???
  22. Hi When you have a foreign key linking two tables there is no need to store the same value twice because you can retrieve it or use it by using JOIN in the sql query... so there is no need to store the email twice.. I think you should see how normalization works... http://en.wikipedia.org/wiki/Database_normalization I am not sure if i was very helpful since i am new in php and Mysql so you should hear and some other opinions...
  23. Hi btherl I must do something wrong because the variable that supposes to have the decode value is empty... function utf8_replaceEntity($result){ $value = (int)$result[1]; $string = ''; $len = round(pow($value,1/8)); for($i=$len;$i>0;$i--){ $part = ($value & (255>>2)) | pow(2,7); if ( $i == 1 ) $part |= 255<<(8-$len); $string = chr($part) . $string; $value >>= 6; } return $string; } function utf8_html_entity_decode($string){ return preg_replace_callback('/&#38;#([0-9]+);/u', 'utf8_replaceEntity',$string); } $myname = utf8_html_entity_decode($name); I pass the variable $name to the function which is a Greek string and then try to store the result of the decoding in the variable $myname but the variable $myname appears to be empty when i try to use it... Any ideas..... ???
  24. Hi I have try this and i get a result look like this ÁíôñÝáò. The variable that i try to store was Αντρέας. So the encoding has changed but not to the required... The encoding of my data is UTF-8... Thank you btherl ,any further suggestions...
  25. Hi all, I am trying to save Greek strings on my MySql database but although that the values appear correct when i retrieve them from the database when i do a "browse" in my tables the Greek values appear as strings on coded characters such as (&#923;&#945;&#963;&#964;&#953;&#967;&#945;). I have try to change the Collation of the Greek fields to greek_bin and greek_latin_ci but i still have the same problem. Is there any solution?? I am using MySQL client version: 5.0.33 and PhpMyAdmin version 2.92 Thank You in Advance
×
×
  • 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.