Jump to content

shamuraq

Members
  • Posts

    142
  • Joined

  • Last visited

Everything posted by shamuraq

  1. No... i dun want php to read the pdf... Just want php to insert my pdf's into mysql blob...
  2. Hi guys, This is my first time to insert PDF into MySQL BLOB. Below is my form that i used <?php <form enctype="multipart/form-data" name="frmUploadFile" action="ulf-exec.php" method="post"> <select name="title" id="title"> <option>xxx</option> <option>yyy</option> <option>zzz</option> </select> </label> <input name="des" type="text" class="dropdownlists1" id="des"></td> <input name="fileUpload" type="file" class="dropdownlists1" id="fileUpload" size="20" border=""></td> <input type="submit" name="button" id="button" value="Submit"> </form> ?> I have prepared my database based on the required but decided to test with echo just to confirm there's no issue with the code The action="ulf-exec.php" : <?php function clean($str) { $str = @trim($str); if(get_magic_quotes_gpc()) { $str = stripslashes($str); } return mysql_real_escape_string($str); } //Sanitize the POST values $title = clean($_POST['title']); $des = clean($_POST['des']); $fileUpload = $_POST['fileUpload']; if(empty($des) || $fileUpload == "none") die("You must enter both a description and file"); $fileHandle = fopen($fileUpload, "r"); $fileContent = fread($fileHandle, $fileUpload_size); $fileContent = addslashes($fileContent); $date = date('d').'-'.date('m').'-'.date('y'); $time = date('h').':'.date('i').':'.date('s'); echo "<h1>File Uploaded</h1>"; echo "The details of the uploaded file are shown below:<br><br>"; echo "<b>File name:</b> $fileUpload_name <br>"; echo "<b>File type:</b> $fileUpload_type <br>"; echo "<b>File size:</b> $fileUpload_size <br>"; echo "<b>Uploaded to:</b> $fileUpload <br><br>"; echo "<a href='uploadfile.php'>Add Another File</a>"; ?> This is the error: Warning: fopen() [function.fopen]: Filename cannot be empty in /ulf-exec.php on line 30 Warning: fread(): supplied argument is not a valid stream resource in ulf-exec.php on line 31
  3. Hi guys, I have a form using radio buttons. For the radio button, lets just say i have the id name as 'rim' + number eg; rim0, rim1, rim2.... When i post the data to another file to execute the data collected, naturally i would use the: $rim0=$_POST['rim0']; $rim1=$_POST['rim1']; .... $rim10=$_POST['rim10']; i tried to shorten this process using this method: //$q is part of the post variable. for($x = 0; $x < count($q); $x++){ $rim[]=$_POST['"rim"."$x"']; } But i get this error Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Notice: Undefined index: "rim"."$x" in D:\Apache Software Foundation\Apache2.2\htdocs\.....\#####.php on line 20 Is there something wrong with my POST syntax?
  4. Why should we bother to help, if you cannot take proper solutions and try to implement them and see how / why we did it the way we did? Please refer to my last post: <table width="200" border="1"> <tr> <td> <iframe src= <?php echo "../SystemDirectory/280610/1.svg"; ?>" width="400" height="250" frameborder="0" scrolling="no"></iframe> </td> </tr> </table> And do let me know if that does not follow suggestion from our dear MrAdam... Lolxxx... Cute one premiso ... But i think i managed to sort it out from MrAdam's suggestion... Thanx MrAdam
  5. I am trying to back track to find out if it is the syntax structure or something else and decided to go static fer a bit This is more mind-boggling.... When i changed it to: <table width="200" border="1"> <tr> <td> <iframe src= "../SystemDirectory/280610/1.svg" width="400" height="250" frameborder="0" scrolling="no"></iframe> </td> </tr> </table> It worked fine... But when i changed it to: <table width="200" border="1"> <tr> <td> <iframe src= <?php echo "../SystemDirectory/280610/1.svg"; ?>" width="400" height="250" frameborder="0" scrolling="no"></iframe> </td> </tr> </table> The error that i get is: You don't have permission to access /testing/SystemDirectory/280610/1.svg" on this server. So is this Apache issue or php syntax issue? If this is apache issue then i supposed (i really need a second opinion) i would not have been able to access it right from the first part (without php coding).
  6. well its part of a bigger <?php ?>
  7. sorry.. my mistake... <?php $e = date('dmy'); $f = mt_rand(1,99); $f = $f.".svg"; ?> <td><?php echo "<iframe src= \$e"."\$f"."\ width=\"400\" height=\"250\" frameborder=\"0\" scrolling=\"no \"></iframe>";?></td>
  8. hi all... i have a bit of a pain from my own incompetency... So i would be grateful fer any help rendered... <?php $e = date('dmy'); $f = mt_rand(1,99); $f = $file.".svg"; ?> <td><?php echo "<iframe src= \$e"."\$f"."\ width=\"400\" height=\"250\" frameborder=\"0\" scrolling=\"no \"></iframe>";?></td> The error that i get from parsing that in browser is: The requested URL /testing/SystemDirectory/280610$f\ width= was not found on this server. I've got a gut feeling that my <iframe> syntax is erroneous... Is regex involved?
  9. Bingo... tt's what i was looking fer... Now i'm very close to it just that the svg is not well formed... the error on firefox says: XML Parsing Error: not well-formed Location: file:///D:/Apache%20Group/Apache2/htdocs/...050610144301.svg Line Number 1, Column 7:header("Content-type: image/svg+xml") ------^ Notepad successfully display: header("Content-type: image/svg+xml") <?xml version="1.0" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <svg width="750" height="710" xmlns="http://www.w3.org/2000/svg" version="1.1"> <circle class="Connect" cx="110" cy="110" r="100"> </circle> </svg>
  10. Yes... its blank i added error notifier and it says: Warning: Wrong parameter count for ob_get_clean() in D:\Apache Group\Apache2\htdocs\....01.php on line 41 I'm suspecting there's a better syntax to "ob_get_clean($output);"
  11. I am successful in using echo but i need to write this to file for future development Any ideas?
  12. Hi all i've got this thing that got me stumped... <? ob_start(); $output = "header(\"Content-type: image/svg+xml\")"; $output .= "<?xml version=\"1.0\" standalone=\"no\"?>"; $output .= "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"; $output .= "<svg width=\"750\" height=\"710\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">"; $cx = 110; //Coordinate of x-axis @ centre of circle $cy = 110; //Coordinate of y-axis @ centre of circle //$r = rand(100,150); // radius $r = 100; //Melukis segi empat dari data dinamis yg didapati di atas $output .= "<circle class=\"Connect\" cx=\"$cx\" cy=\"$cy\" r=\"$r\">\n"; $output .= "</circle>\n"; $output .= "</svg>\n"; $date = date('dmy'); $kali = 0; $content = ob_get_clean($output); file_put_contents("1".".svg", $content); ?> I get the file 1.svg (meaning file placement is successful) but when i execute the svg file, it is empty... Error in the browser says XML Parsing Error: no element found Location: file:///D:/Apache%20Group/Apache2/htdocs/math/testing/1.svg Line Number 1, Column 1: ^ Any ideas?
  13. Thanx fer the help mate... But just out of curiosity is "if(count($c) == 4 && $c[3] == NULL)" a correct syntax?
  14. is that regex? Can you explain to me (if you have the time) what "%01.2f" means?
  15. hello all.... i can't figure out if my code below is syntax error or logical error... pls help... <?php //Converting cents to dollars.cents $a = mt_rand(111,9999); $b = $a/100; $c = str_split($b); if(count($c) == 4 && $c[3] == NULL){ echo "Last digit of three figure is 0".'<br>'; } elseif(count($c) == 5 && $c[4] == NULL){ echo "Last digit of four figure is 0".'<br>'; } echo "$a = $b".'<br>'; ?> it only 'echo' $a = $b but none from this if statement... Thanx in advance...
  16. Lolxxx... sorry with the late reply... Problem with internet bill settlement... I'll give it a try... Thanx again...
  17. Hi Daniel0, i'm still trying to piece up your reply but am still stuck... lets just say i have the code below, how do u get them to save the "parsed" svg which is still in .php into a .svg and saved into a certain folder in the server? <?php header("Content-type: image/svg+xml"); $output ="<?xml version=\"1.0\" standalone=\"no\"?>"; $output .="<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"; $output .= "<svg width=\"750\" height=\"710\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">"; //class style sheet $output .= "<style type=\"text/css\"> <![CDATA[ .Border { fill:none; stroke:#a4a4a4; stroke-width:1; stroke-dasharray: 5, 3, 9, 2; } .Connect { fill:#505050; stroke:#888888; stroke-width:2; opacity:0.7 } .Connect1 { fill:#FFFFFF stroke:midgrey; stroke-width:1; opacity:0.7 } .Connect2 { fill:#333333; stroke:#777777; stroke-width:1; opacity:0.7 } .SamplePath { fill:none; stroke:#CCCCCC; stroke-width:1 } .EndPoint { fill:none; stroke:#888888; stroke-width:2 } .CtlPoint { fill:#888888; stroke:none } .AutoCtlPoint { fill:none; stroke:blue; stroke-width:4 } .Label {font-family: Arial } ]]> </style>"; $pattern = array(); for($i = 0; $i<$color1; $i++){ $pattern[$i] = '#FFFFFF'; } for($i = $color1; $i<$boxes; $i++){ $pattern[$i] = '#666666'; } shuffle($pattern); //print_r($pattern); for($i = 0; $i < $boxes; $i++){ $x = $x + 20; $a1 = $pattern[$i]; $output .= "<rect style=\"fill:$a1;stroke: #777777\" x=\"$x\" y=\"$y\" width=\"$w\" height=\"$h\">"; $output .= "</rect>"; } $output .= "</svg>\n"; print $output; ?>
  18. hi all, I have seen and sampled many dynamically generated SVG via PHP. What i need to do is 1)save the output as .svg instead of having the svg parsed image still in .php document. 2)save the output .svg to a specific folder in the server. Any suggestions/ideas?
  19. i didn't wait for the reply and by chance tuned the code close to urs (MadTechie). <? $fraction02 = array(); $multiplier = 20; for($i = 1; $i < $multiplier; $i++){ for($j = 0; $j < $multiplier; $j++){ $fraction02[$i] = array(); $fraction02[$i][$j] = ($j + 1) * $i; echo $fraction02[$i][$j].", ";//Just to test for result } echo '<br>'; //Just to test for result } ?> Output: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48, 51, 54, 57, 60, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96, 102, 108, 114, 120, 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77, 84, 91, 98, 105, 112, 119, 126, 133, 140, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 9, 18, 27, 36, 45, 54, 63, 72, 81, 90, 99, 108, 117, 126, 135, 144, 153, 162, 171, 180, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 11, 22, 33, 44, 55, 66, 77, 88, 99, 110, 121, 132, 143, 154, 165, 176, 187, 198, 209, 220, 12, 24, 36, 48, 60, 72, 84, 96, 108, 120, 132, 144, 156, 168, 180, 192, 204, 216, 228, 240, 13, 26, 39, 52, 65, 78, 91, 104, 117, 130, 143, 156, 169, 182, 195, 208, 221, 234, 247, 260, 14, 28, 42, 56, 70, 84, 98, 112, 126, 140, 154, 168, 182, 196, 210, 224, 238, 252, 266, 280, 15, 30, 45, 60, 75, 90, 105, 120, 135, 150, 165, 180, 195, 210, 225, 240, 255, 270, 285, 300, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 256, 272, 288, 304, 320, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255, 272, 289, 306, 323, 340, 18, 36, 54, 72, 90, 108, 126, 144, 162, 180, 198, 216, 234, 252, 270, 288, 306, 324, 342, 360, 19, 38, 57, 76, 95, 114, 133, 152, 171, 190, 209, 228, 247, 266, 285, 304, 323, 342, 361, 380, But this is where the problem starts. When i add a print_r statement: print_r($fraction02); It only shows array [19] of each array: Array ( [1] => Array ( [19] => 20 ) [2] => Array ( [19] => 40 ) [3] => Array ( [19] => 60 ) [4] => Array ( [19] => 80 ) [5] => Array ( [19] => 100 ) [6] => Array ( [19] => 120 ) [7] => Array ( [19] => 140 ) [8] => Array ( [19] => 160 ) [9] => Array ( [19] => 180 ) [10] => Array ( [19] => 200 ) [11] => Array ( [19] => 220 ) [12] => Array ( [19] => 240 ) [13] => Array ( [19] => 260 ) [14] => Array ( [19] => 280 ) [15] => Array ( [19] => 300 ) [16] => Array ( [19] => 320 ) [17] => Array ( [19] => 340 ) [18] => Array ( [19] => 360 ) [19] => Array ( [19] => 380 ) ) What happened to the rest of the values that was initially present during the echoed loop?
  20. Hi all, I am trying to create a dynamic number table but keep getting an error during parsing <? $fraction02 = array(); $multiplier = 10; for($i = 0; $i < $multiplier; $i++){ $fraction02[$i] = $i + 1; for($j = 0; $j < $multiplier; $j++){ $fraction02[$i][$j] = ($j + 1) * $i; } echo $fraction02[$i].'<br>'; } ?> The error that i got is: Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 1 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 2 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 3 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 4 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 5 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 6 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 7 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 8 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 9 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 Warning: Cannot use a scalar value as an array in D:\Apache Group\...frac_gen01.php on line 23 10 Thanx in advance... I've got a feeling this is just minor tweaking but my "blurred" brain just refuse to point at it...
  21. i'll do my best. I hope you won't have to administer the mail server and that your company gets it with an admin support or u'll have a dump load to worry about SSL/TLS (i mean you have to use these security features lest ADOBE(god screw them) will screw your company for any breach of security)
  22. Reply on the fly... I am not sure about your scripting since i'm mobile and cannot fathom the codes. But i can however assist you A BIT in the email server part... Since your sending via gmail(i assumed the "from" is you), then you need to set an smtp port to 587 using TLS connection... Google "PHP gmail setting"... I'll check back in again when i get back home... Hope it helps
×
×
  • 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.