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...
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...
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...
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...
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...
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
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...
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...
try this
<?php
header ("Cache-control: private");
header ("Content-type: application/octet-stream");
include "connection.php";
$id=$_POST['id'];
.....
?>
another example is
<?
header ("Content-type: octet/stream");
header ("Content-disposition...
:)
sorry namida I made a mistake before
"DELETE FROM table_name WHERE datefield<time()-172800"
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...
I think its something like this...
saveas.php should contain.
<?php header ("Content-type: application/octet-stream"); ?>
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...
you need to store the date in you database then query it using
"DELETE FROM table_name WHERE datefield>time()-172800"
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...
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 "save" dialog box to appear.
found here...
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...
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...
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 =...
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 = "FEDCBA9876543210"
enc2= "0123456789ABCDEF"
tmpDate = Format(Day(Date)...
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...
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)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.