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 Wanet Telecoms Ltd 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. miahmiah900

    AVOID CONCURRENT PROCESS ???

    if it is really a concern with timing, maybe you should be doing it another way? i guess you are setting value in a database, running maintenance script, and if value is already set, not running script. then when maintenance script is finished, unsetting value in the database. dont see how it...
  2. miahmiah900

    curl_exec() failure - cURL help anyone?

    ah... my host tells me that they have a custom firewall so that i cannot access other urls from a php script. thanks for the replies. (they will add individual urls to the whitelist for me though)
  3. miahmiah900

    curl_exec() failure - cURL help anyone?

    here is the most basic code i used to test, which produced the ever-working blank page (no result). <? // create a new curl resource $ch = curl_init(); // set URL and other appropriate options curl_setopt($ch, CURLOPT_URL, "http://www.houseleng.com"); curl_setopt($ch, CURLOPT_HEADER, 0); //...
  4. miahmiah900

    curl_exec() failure - cURL help anyone?

    I have not been able to get a cURL request to work in PHP. Is there anyone that can suggest a solution for me? Everytime I use curl_exec() in PHP to do anything, it works and works for a long time and never produces a result. I would ask as I have tried many things and cannot find a way to fix...
  5. miahmiah900

    Grunge Black and White Look

    What do you mean by clean? The image you linked to looks very washed out, either by lighting when the photo was taken, or contrast / levels adjustment, or both. You can also use gaussian blur and unsharp mask to achieve a "smoothing" effect with black and white images.
  6. miahmiah900

    Dropdown menu links..

    for the submit button, make an onClick event which you can define in javascript elsewhere on the page (usually the header) <input onClick="javascript:dropiframe()" type="submit" name="Submit" value="Go"> so, in the header, you would want something like this: (note, this is probably not...
  7. miahmiah900

    Delete entry if limit is reached

    I think what you need to do is change this line: $OldestMessage = mysql_result($query, "oldmail"); The string $query is not a mysql resource, it is a string. On this line, you are getting a MySQL result: $NbMsg = mysql_result($query, "nbmail"); So, on the mysql_result call, use $NbMsg...
  8. miahmiah900

    Files over SSL

    Maybe your server does not support SSL for all file types. Sometimes only .php .html etc are allowed through the SSL port.
  9. miahmiah900

    Lost use of CTRL!

    that sounds like the the buggy pirate release, there is a good release as well, but support adobe and buy their product if you like it. also there are updates available on adobe.com if you have an early legal copy for some reason.
  10. miahmiah900

    Link Alpha Channel to Layer

    The layer mask tool is the best option for this I think. When exporting to after effects or other adobe products, the transparency will be retained as an alpha channel in the imported image. If the layer with the layer mask is the only one visible, you will in effect be editing the alpha...
  11. miahmiah900

    How to genate dynamically changed links in PHP?

    a dynamically generated link would be a slightly more simple option, although if you want to let people download more than once you will have to incorporate individual users. generally, it works something like this - send them a link to a php page with a randomized value in the query string...
  12. miahmiah900

    how do i input multiple values into a db table

    are you asking how to do a database insert or update, or is your code broken and not passing any variable to your second page?
  13. miahmiah900

    Insert directory map into database

    oh yeah, and for the mysql, the basic tree structure of &quot;id, name, parent_id, date&quot; works fine for directories, and the files should include &quot;id, name, folder_id, date&quot;. and you will have to include the code in your php script to compare file / folder lists with the database...
  14. miahmiah900

    Insert directory map into database

    are you sharing all your files on the internet? seems like a lot of work just to use an alternative to the existing network file system. make a php script that scans each directory and the files, compares to a database for the file date/time and updates as nesecarry. then, make a cron job that...
  15. miahmiah900

    Using preg_replace in multiline

    if it has line breaks recorded in it, be sure your expression contains the line break character when you try to match the two lines... (not sure how, but you can look it up) if that doesnt work, perhaps the other set of reg exp functions would work (reg instead of preg for example).
  16. miahmiah900

    Download Link

    specify a relative url, such as: <a href='../file.ext'>Click here to DL</a> the ../ tells the server to look one level up from the current directory
  17. miahmiah900

    Help with SELECT statement

    how large is your data set? are you using primary keys and indexes, if so which columns are they created for? is your web server slow?
  18. miahmiah900

    date functions

    convert the date value to a timestamp, get the current timestamp and compare the two values. timestamps are recorded in number of seconds, so if you divide by 86400 you get the number of days. the function you need is mktime() - you can look up the syntax at...
  19. miahmiah900

    is there an automatic-global setting?

    i am not at home right now so i cant paste my code, but i was having problems because i passed the names of the variables to the function in an array, and then referenced the variables by using an eval statement to build the actual code.
  20. miahmiah900

    is there an automatic-global setting?

    sorry, i dont know what you mean? this seems a really basic question, and i feel silly for asking it ;)

Part and Inventory Search

Back
Top