Posts by Diego Go • 131 points
12 posts
-
2
votes1
answer264
viewsQ: preg_match_all(): Delimiter must not be alphanumeric or backslash
class Check { private static $Data; private static $Format; public static function Email($Email) { self::$Data = (string) $Email; self::$Format =…
-
0
votes0
answers395
viewsQ: Upload Using Javascript
First excuse if the question is too Noob. I need to learn how to manipulate html elements with javascript (I think). Well I have this code below, which uploads the image, what I want to do is that…
javascriptasked Diego Go 131 -
1
votes1
answer2775
viewsQ: JSON Parse error:
I have this error in JSON that I can’t understand. This is my return on the console: Syntaxerror: JSON Parse error: Unrecognized token '<' Who is informed to be on that line: resultado =…
-
1
votes0
answers29
viewsQ: Nginx Imagejpeg
I have that code: function show_image($mime_type, $image_resized) { global $quality; echo $cache_file = get_cache_file($mime_type); switch ($mime_type) { case 'jpg': imagejpeg($image_resized,…
-
1
votes0
answers34
viewsQ: mkdir php TCPDF ERROR
I have an application that generates a pdf file and saves it in a specific directory. I followed the steps of the php manual(http://php.net/manual/en/function.mkdir.php) for use of this function.…
-
1
votes1
answer1235
viewsA: Nginx files Php
I found the solution on the Digital Ocean website(https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04). This is my snippet in the default…
-
1
votes1
answer1235
viewsQ: Nginx files Php
I’m studying about Nginx and it seems to be faster than good old Apache. My doubt is. I have the Nginx already installed and running (with the welcome msg). I created an index.php page and…
-
1
votes3
answers86
views -
0
votes3
answers86
views -
4
votes3
answers13726
viewsQ: Error while running Composer
I created a virtual machine with Vagrant and used Puphpet. However when I run Composer I have as return only this list of error,I have created 4 different machines and always the same error. Someone…
-
0
votes0
answers108
viewsQ: Error grabbing array by Indice
I have this code and do not know why I return only the first character of the variable(exe: if the login contains the value Diego, print only D) The print_r that is there,I put to test the return…
-
1
votes3
answers1358
viewsA: You can run the same site on different domains
Depends on Ocaweb has many flaws(at least with me had) however this option exists. Domain Registration >Change > here you have an option 'change browser address' Check with your hosting…