Posts

Upload temp folder server settings error

upload_tmp_dir = /tmp/

Upload images

$c1 = rand(0,9);$c2 = rand(0,9);$c3 = rand(0,9);$c4 = rand(0,9); $rand = $c1.$c2.$c3.$c4; $dir_path = "album/".$rand.$_FILES['upload1']['name']; $dir_patha = $dir_path; $file=$rand.$_FILES['upload1']['name']; if(move_uploaded_file($_FILES['upload1']['tmp_name'],"../".$dir_path)){

Unlink

unlink($arr1[$y]);

Text focus JS

SSL, or Secure Socket Layers, is what makes secure sites secure.

SSL, or Secure Socket Layers, is what makes secure sites secure. Here's how it works: When you log onto a secure server it communicates with your browser for a few seconds. During this communication, it sends your browser encryption information that only it and your browser can read. Once this encryption is set, it acts like a normal web page, except that all info coming or going is encrypted. This encryption makes it extremely difficult for any third party who would intercept the transaction to decipher it. (All this extra protection is why secure servers seem to run slower than their unsecured counterparts.) Secure connections only protect the info as its coming and going, not when it's just sitting on the server. That being said, you probably have a better chance of getting ripped off by a sales clerk copying your credit card number at a department store than getting your information stolen over the internet. You can tell a secure site by the first part of ...

PDF to imGAE code

Image
[R-sig-mediawiki] Revised Rext 0.03 with better error reporting Alex Brown alex at transitive.com Tue Sep 26 15:03:44 CEST 2006 * Previous message: [R-sig-mediawiki] Revised Rext 0.02 with better error reporting * Next message: [R-sig-mediawiki] R-News article * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Attached is a version of Rext 0.03 with my previous changes plus a set of changes to improve error reporting, including: if iframe images cannot render, you get the program text + the error if inline R (default output) contains an error, you get the error message in red inlined with the wiki page if inline R (output=display) fails to render, you get the program text + the error inlined with the wiki page In the long run, I plan to unify the 3 different output modes, starting with default and display - I have a prototype (not included) that does this. I have attached a patch as well as the complete file. -Alex ...

Create handle for new PDF document

// create handle for new PDF document $pdf = pdf_new(); // open a file pdf_open_file($pdf, "philosophy.pdf"); // start a new page (A4) pdf_begin_page($pdf, 595, 842); // get and use a font object $arial = pdf_findfont($pdf, "Arial", "host", 1); pdf_setfont($pdf, $arial, 10); // print text pdf_show_xy($pdf, "There are more things in heaven and earth, Horatio,", 50, 750); pdf_show_xy($pdf, "than are dreamt of in your philosophy", 50, 730); // end page pdf_end_page($pdf); // close and save file pdf_close($pdf);

POPULAR POSTS ::

JOIN QUERY

Add multiple upload box

HTML and PHP INTRODUCTION

The top Web development PHP frameworks

Mobile App Development Trends: Emerging Technologies and Innovations

String Separation