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. JamieFuller

    Exchange 2003 server, vm recovery...

    Thanks Zelandahk, Unfortunately I can't bring it up in the live environment as it will cause conflicts. I've heard of some third party software that recovers from the edb and stm files, I might have to give that a go. I guess having a full vm backup isn't good enough for our backup needs. The...
  2. JamieFuller

    Exchange 2003 server, vm recovery...

    Hi All, I need to recover some emails from our virtual (vmware) outlook 2003 server, we have full nightly backups of the virtual machine. I restored the whole machine as a clone and can boot the server up,I was hoping to just use exmerge to extract a pst with the missing emails however I have...
  3. JamieFuller

    Problem with I2004 (w) handset...

    Hi Guys, Could really use some advice, I am currently struggling with a problem with one of the telephones in my office. I have just started here and never used this system before so am a little bewildered to say the least :) We switched all the power off in our building on Saturday and the...
  4. JamieFuller

    Simple script, fine in IE not in Firefox....

    Many Thanks Tsuji, I new I was doing something stupid :-) Kindest Regards Jamie
  5. JamieFuller

    Simple script, fine in IE not in Firefox....

    Hi All, Can someone help me, I think i'm losing the plot. I have written a number of javascript assisted pages but when testing them in FF the functionailty doesnt work. According to all the FF sites all the commands im using are implemented, and if I change the code slighlty it works. but I...
  6. JamieFuller

    Hi Guys, I have been asked to wr

    Hi Guys, I have been asked to write a 'wallboard' script that shows where all our engineers are scheduled to be between 2 dates... the problem is my code is pretty shite, It works and it works well but it is super slow. and if I try to do more than 14 or so days I might as well go and make...
  7. JamieFuller

    can php work with vbscript?

    VBScript is a client-side language and PHP is server-side. PHP can generate any client-side languages easy-peasy. give us a look at the vbscript in question and I'll show you have to link them. Kindest Regards Jamie
  8. JamieFuller

    cookies...arrrrrghhh

    Hi sleipnir214, Thanks for your response however I understand they are different but the code simply copies the session_id() into a cookie variable (if the cookie variable is empty), then on the next refresh of the page it should see that the cookie has a value in it and return that instead of...
  9. JamieFuller

    cookies...arrrrrghhh

    I have written a script. here is the code: if(isset($_COOKIE["cartId"])) { echo $_COOKIE["cartId"]; }else{ session_start(); setcookie("cartId", session_id(), time() + ((3600 * 24) * 30)); echo session_id(); } I understand that cookies are not...
  10. JamieFuller

    Forced Download!!

    try this <?php header (&quot;Cache-control: private&quot;); header (&quot;Content-type: application/octet-stream&quot;); include &quot;connection.php&quot;; $id=$_POST['id']; ..... ?> another example is <? header (&quot;Content-type: octet/stream&quot;); header (&quot;Content-disposition...
  11. JamieFuller

    Signup confirmation - confirmation code

    :) sorry namida I made a mistake before &quot;DELETE FROM table_name WHERE datefield<time()-172800&quot; Like I say, so long as you execute that SQL statement before adding any new ones it will be just as good as using the crontab. some servers won't allow access to the crontab. Kindest...
  12. JamieFuller

    Forced Download!!

    I think its something like this... saveas.php should contain. <?php header (&quot;Content-type: application/octet-stream&quot;); ?> text to save linking to savas.php should then do the trick you can add anyhing to saveas.php but the header must be the fisrt thing to be output to the browser...
  13. JamieFuller

    Signup confirmation - confirmation code

    you need to store the date in you database then query it using &quot;DELETE FROM table_name WHERE datefield>time()-172800&quot; you may need to store time()-172800 as a variable first. (172800 is the amount of seconds in 48 hours) you could either stick this on a crontab (havn't a clue how but...
  14. JamieFuller

    Forced Download!!

    If you're sending data files of some sort which the user ought to be saving instead of viewing in his/her browser, the best MIME type to use is application/octet-stream; this will usually cause a &quot;save&quot; dialog box to appear. found here...
  15. JamieFuller

    Signup confirmation - confirmation code

    I use the md5(time()); command, that gives a unique confirmation code and then I store that in a database with the email address. then email is then sent with the link to the page that checks the database. if the link was the same as the value in my datbase then the account is activated. as for...
  16. JamieFuller

    Create folder and file in it.

    Hi, I have a php script that creates a folder, this works but the permissions are incorrect. I have tried using the chmod command with setting 0777 but that only changes it to 757 (or something like that) I want to create a folder and then cretae a small php file inside it. is 0777 the right...
  17. JamieFuller

    Image transparency.

    I have written a script that uploads a picture, (jpg). I need to resize a copy to a thumbnail size and then make it transparent (where there is white) and save as a png. I have every thing working but the transparency. heres my code. // Load image from jpg $src_img =...
  18. JamieFuller

    Assistance converting VB into PHP

    I have written this function in VB but would ideally love to convert it into php so that I can run it from my website. Private function gen(text1) as string dim c as int Dim b As String enc = &quot;FEDCBA9876543210&quot; enc2= &quot;0123456789ABCDEF&quot; tmpDate = Format(Day(Date)...
  19. JamieFuller

    Where HELP Like 'SQL string from VB'

    Hi, I have written a front end for a Access2000 database. it works fine except using the 'LIKE' command in the SQL string. the string looks something like this Select * FROM Table Where (Field1 LIKE 'a*'); this string works from within access (it reports all entries beginning with 'a') but...
  20. JamieFuller

    loading a picture...but not from a file...HELP!

    I have written a really cool encryption algorythm that protects my private pictures (jpg format). when my decrypter runs it loads the encrypted file into memory, processes it in memory (a string the length of the file). i need to put this string of memory into a picture box (as a picture)...

Part and Inventory Search

Back
Top