Jump to content

Horst Azeglio

Members
  • Posts

    24
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Horst Azeglio's Achievements

Member

Member (2/5)

0

Reputation

  1. thanks a lot, super guru, it works perfectly, however, I don't understand the use of the backslash in that context. Can someone explain me why does it work?
  2. I think it wouldn't work because it would also replace the i letter inside words. btw I just noticed the regex forum. I should have posted that topic in it. If a mod moves it I wont be confused.
  3. I'm trying to convert ever lowercase word "i" into an uppercase word I. Here's my code. [quote] $string="This is my string. i am a regular expression illiterate"; $string=preg_replace("/[ \,\.!\?\']i[ \,\.!\?\']/","/[ \,\.!\?\']I[ \,\.!\?\']/",$string); [/quote]
  4. I'll try that. For now I temporarly fixed the problem by adding the full path to the links.
  5. Thanks but ini_set() didn't work + I have no access to PHP.INI
  6. When my cookies are empty, ?PHPSESSID=something is automatically added to some of the links of my site. How can I remove ?PHPSESSID=something from the links? I know what a session is, but I don't know why it does that. Thank you.
  7. sounds good, I'll do that right now. thanks
  8. Is it possible in PHP to create "virtual directories" (like in wikipedia)? for instance http://en.wikipedia.org/wiki/Wayne_Gretzky There's no Wayne_Gretsky directory another good example of what I'm looking for is this forum itself! each topic is a "virtual" html file. How do you do that? Thank you
  9. Do you guys know how to determine the language Google is using to probe a site, like, is it Google for Italian or German pages? Thank you.
  10. I'm trying to do a MySQL Query but it doesn't work. (version 4.0.26) When I put only one argument in MATCH, it shows no error but doesn't return anything SELECT * FROM item WHERE MATCH (nom) against ('Huile'); or SELECT * FROM item WHERE MATCH (nom_en) against ('Huile'); When I put two arguments: SELECT * FROM item WHERE MATCH (nom,nom_en) against ('Huile'); It says: "Can't find FULLTEXT index matching the column list", but both nom and nom_en are FULLTEXT indexed. Anyone can help? thank you
  11. Do you guys know how to set a realistic expiration date for cookies? like, some kind of javascript equivalent to strtodate() so I can set the expiration date in two weeks or something. Thank you edit: nervermind, I did it half in php.
  12. Maybe it's only for IE, since IE doesn't display table content before it's loaded.
  13. I'm quite sure there's a CSS property to set on to a Table, TD or TR that tells to moderatly recent browsers to display the table even if the content is not loaded yet. One of my friend is pretty good in CSS, he says he ever used that property but he forgot the name of it.
  14. Do you guys know how to display a TABLE before it's content is fully loaded? Thank you.
×
×
  • 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.