1,003 Posted Topics

Member Avatar for lwaterfo

@lwaterfo Here is the deal, you can unconditionally buy us a cup of starbucks coffee, a gallon will be greatly appreciated..:). I want mine colombian with brown sugar, and no creamer. 1. Download this script [Here](https://github.com/simfatic/RegistrationForm/downloads). 2. Unzipped the downloaded zip file. 3. In the unzipped file, find membersite_config.php and …

Member Avatar for veedeoo
0
303
Member Avatar for tibormarias

Hi, Please allow me to share my views and experiences with these template engines. Things I have not tried yet, are not included in the list.. pretty much, it all depends on how big is your application, the methods of how the php data is going to be passed to …

Member Avatar for veedeoo
0
366
Member Avatar for shakayu

Hi, Like any other responses I've posted for all framework based questions..e.g. cake, CI, Zend, symfony, and others.. All of these frameworks shares a pretty similar coding convention. So, for the Code Igniter, the syntax will be as simple as this General syntax for the CI database library $your_query = …

Member Avatar for shakayu
0
1K
Member Avatar for innovateuk

I totally agree with Diafol and Atli's recommendations. Ioncube is the most cost effective at less than a dollar per page. While the rest are just expensive to purchase, because they don't offer per file or page obfuscation. There is a source guardian for 199 dollars and another one I …

Member Avatar for veedeoo
0
171
Member Avatar for amith_ami

Hi, You will need to add something like this if(isset($_GET['param'])){ ## rest of your codes here } else{ ## code when $_GET is empty } The Theory!! Another trick I use outside the norms is this if($_GET){ ## codes here if $_GET is not empty ## make sure to check …

Member Avatar for amith_ami
0
889
Member Avatar for ibn_sumal

Hi, Try adding, these codes just below the fclose($fh); echo substr(sprintf('%o', fileperms('/test/test.txt')), -4); Make sure to put the proper loction of the test.txt.. Let us know of the 4 intengers printed on your screen.

Member Avatar for pritaeas
0
438
Member Avatar for silent lover

Hi, Can you please elaborate which table names? Mysql? ==> show us your codes? Something else? ==> show us your codes?

Member Avatar for silent lover
0
2K
Member Avatar for welshly_2010

Hi, Just need patience in waiting for the response. All expert and master coders are volunteers, and ONE junior volunteer like myself is always lazy all the time :).. In fact, I think I already posted many variations of read_dir function in this forum.. Since, I don't keep a record …

Member Avatar for veedeoo
0
121
Member Avatar for joshl_1995

In addition to what Diafol already mentioned, you can use plain javascript for OR use the REST. You will need to read more on how to implement the REST in this API, then and ONLY then you can convert the REST codes to PHP using the cURL plugins. Yes, it …

Member Avatar for pritaeas
0
369
Member Avatar for garyjohnson

You will be able to use or implement either one of the common design patterns. My favorite is the observer pattern and Singleton pattern. Benefits in writing codes in OOP 1. One or more classes can be derived from a base class. This is called inheritance. As the application grows …

Member Avatar for diafol
0
147
Member Avatar for garyjohnson

you can also add login failed counter and assign the count in session. Define how many failed login would you allow, before requiring an account reset or captcha. Test your login script with the most common login hacks e.g. type OR'' on the password field, without typing any username... if …

Member Avatar for garyjohnson
0
257
Member Avatar for shlokka

Hi, Please allow me to clarify things about paypal API. Before implementing any payment processors that utilizes an IPN class or script, script should be tested in paypal sandbox environment. Suggested steps to take. 1. Create a [paypal sandbox account](https://github.com/veedeoo/PHP-PayPal-IPN). 2. Login to your sandbox account and create a seller …

Member Avatar for shlokka
0
221
Member Avatar for davy_yg

you cannot embed html tags like that. You will have to close the PHP first and then add your html tags. mysql_select_db('snack', $con); ?> <form action="action.php" method="post"> <?php mysql_query("INSERT INTO Produk VALUES ('Produk')"); mysql_query("INSERT INTO Jumlah VALUES ('Jumlah')"); mysql_query("INSERT INTO Tanggal_Masuk VALUES ('Tanggal_Masuk')"); ?> <input type="submit"> </form> But then again, …

Member Avatar for veedeoo
0
75
Member Avatar for ebc3142

Hi, just a suggestion. Since you are using bindParam PDO statement, can it be the data_type be responsible for the query failure? I am not sure, but I think we should try testing this possibility. try doing this... I am not sure this is going to work, but I think …

Member Avatar for veedeoo
0
292
Member Avatar for QuaminaIT

is easyphp have a sendmail packaged with it? Browsse your local server and look for mercuryMail or something about the mail. Let me know what do you have in your local server.. You also need to tell me if your local server have a directory called sendmail, and what is …

Member Avatar for AARTI SHRIVAS
0
246
Member Avatar for pedal123

Hi, this if (!$search) does not return a boolean response. To force it to return a boolean response then we can do something like this.. actually, we need to add a simple function like this. function is_null_empty($input){ ## true is empty or null ## false go ahead return(strlen($input)== 0 ? …

Member Avatar for broj1
0
3K
Member Avatar for zjony.rashed

Hi, Although I am not a master NOR I am close to becoming one and I have not seen codeIgniter for a while, I am still familiar with the basic syntax of this framework.. Before getting into this question, please allow me to ask you this.. on your controller file, …

Member Avatar for veedeoo
0
277
Member Avatar for coolvasu

Hi, You cannot use the random integers from 1200 to 9600 and expect a result from it. The probability on getting a match is (Xb - Xa) to the power of (xb-xa) times the number of digits combination. Of course, script is not going to return something that it is …

Member Avatar for coolvasu
0
341
Member Avatar for Navlag

Hi, This class is a DB connector class.. you still have to provide the query for it to work.. I just want to let you know that **OCIPlogon** alias has been [deprecated](http://php.net/manual/en/function.ociplogon.php). Use oci_pconnect instead.

Member Avatar for veedeoo
0
217
Member Avatar for Khav

There is a php class called [simple html DOM parser ](http://simplehtmldom.sourceforge.net/)that can also help you achieved this task. For google, they have a [custom search API](https://developers.google.com/custom-search/v1/overview), however this have a limit of 100 quieries per day and they want a fee of $5 per 1000 queries, for up to 10,000 …

Member Avatar for veedeoo
0
271
Member Avatar for soapyillusion

did you try $this->request['param']; as suggested [here](http://book.cakephp.org/2.0/en/controllers/request-response.html)? I really don't understand why? cake php would deprecate such a useful function like the array access $this->request['url']['param']

Member Avatar for soapyillusion
0
143
Member Avatar for luis_see_me

LastMitch is right on the yii framework, but then again the rest will rely heavily on how much coding experience do you have in OOP. If you are pretty fluent in OOP concept of writing codes in PHP, then you can attempt to just write your own MVC framework.. trust …

Member Avatar for Shadizon
0
194
Member Avatar for Reliable

Can you show us your php responsible for generating your form? Normally, php does not refresh page. The only time the page will reload the page, when the form is submitted. Most form processors are either written in PHP , ASP , and CGI . Although CGI was the most …

Member Avatar for diafol
0
238
Member Avatar for GraficRegret

LastMitch is precisely correct, unlink is something you cannot reverse. For safety precaution, you need to test it on dummy files first, before allowing the script to work on real uploaded files. **The use of unlink() with glob() is even dangerous than just using regular dir php function.** example of …

Member Avatar for GraficRegret
0
152
Member Avatar for earlxph8

Do you mean a mechanical printer, printing the form as shown on your webpage? If so, then you can read the tutorial [here](http://youhack.me/2010/06/10/dynamically-generate-pdf-files-in-php/). The tutorial will teach you how to create a PDF file with forms in it. PDF format have a nicer output for the mechanical printer compared to …

Member Avatar for earlxph8
0
288
Member Avatar for calibi.yau

Hi, Did you try to initiate and instance of the db_session in the controller? Then just close the connection within the method that uses it. !WARNING! These are just examples, others may have a different ways of doing things. However, If I am in your shoes, this is what I …

Member Avatar for calibi.yau
0
204
Member Avatar for t2nator

Hi, There are two php functions called ["opendir" and "readdir"](http://php.net/manual/en/function.readdir.php). By using these functions, you can easily create a simple php script to generate download links for the files located in the directory you assigned. For example, WARNING! script below is not tested, but I am confident this will work …

Member Avatar for jasonbean
0
139
Member Avatar for mgrichen

can you try $server_name="localhost", if it does not work for you, read more about it [here](http://dev.mysql.com/doc/refman/5.5/en/can-not-connect-to-server.html).

Member Avatar for mgrichen
0
414
Member Avatar for Robin_2

@robin 2, Diafol is precisely correct, a features like this requires a database. Is your organization have a mysql installed in their server? If you can manage to set up a msyql server this should be an easy task for you. Here is a [tutorial](http://net.tutsplus.com/tutorials/php/how-to-generate-a-complete-excel-spreadsheet-from-mysql/) on how to create spreadsheets …

Member Avatar for veedeoo
0
99
Member Avatar for janguyo

Hi, I think $HTTP_GET_VARS has been [deprecated](http://php.net/manual/en/reserved.variables.get.php). Just use $_GET[]. The new implementation we are currently using in the last 2 years is this if(($_SERVER["REQUEST_METHOD"] == "POST")|| ($_SERVER["REQUEST_METHOD"] == "GET")){ ## deal with the GET method function process_get(){ } ## deal with the POST method{ function process_post(){ } } By …

Member Avatar for diafol
0
194
Member Avatar for Vingklippt

make sure the javascript file is referenced by this page. Otherwise the MM_swapImgRestore and MM_swapImage functions will be undefined js functions. Make sure of that and please let us know.

Member Avatar for Vingklippt
0
256
Member Avatar for eburlea

Hi, Did you read the [Zend API Documentation](http://framework.zend.com/apidoc/2.0/classes/Zend.Captcha.Figlet.html) on figlet? The answer to your question is right on the page.

Member Avatar for eburlea
0
168
Member Avatar for janskey15

I don't see any query sorting the grades based on the studentID or student subject grade based on the studentID. It has to be the unique, and not the subject. Otherwise, your database will just output anything that is true eventhough it does not belong to particular studentID. YOu will …

Member Avatar for LastMitch
0
1K
Member Avatar for bradly.spicer

can you please mark this as solved.. I just landed on this page for the third time :).

Member Avatar for bradly.spicer
0
132
Member Avatar for jahidshumon

do as adviced, and if you have the chance, join the github and look for projects that interests you. If you found one that interests you, fork it.. if you don't know where to start, fork [these](https://github.com/veedeoo). It is a simple commentator script and youtube video for CodeIgniter for you …

Member Avatar for veedeoo
0
224
Member Avatar for soapyillusion

Hi, I was a big fan of all of these MVC frameworks in the past, but the more I tried to write something based on them, the more time I spent on learning how to get around their restrictions. Unlike CI, the CAKE is not that js friendly, while symfony …

Member Avatar for soapyillusion
0
156
Member Avatar for siddharth.dixit.5243

:) It looks like an order to me. @siddharth.dixit.5243 WELCOME TO DANIWEB. You will have to learn how to write your questions properly. All people here are volunteers. We don't expect people to give us back those favors, but we do NOT expect people to give us orders. We give …

Member Avatar for gon1387
0
189
Member Avatar for unikorndesigns

@unikorndesigns, Mitch is right, you will have to give us the codes for the upload.php as defined in your javascript function **url:this.config.uploadUrl** On this upload.php, you will need to make it to check if the file already exist in the upload directory. It must return a response like 'file already …

Member Avatar for unikorndesigns
0
433
Member Avatar for GraficRegret

Hi, Here is an old image manipulator I wrote early last year . I have not tested it since then, but I still believe it will work.. <? ## this image manipulator class was written by veedeoo or poorboy 2012 ## feel free to modify, extend this clas as you …

Member Avatar for GraficRegret
0
221
Member Avatar for azgold472

Hi, You can echo them in single line. Use single quotes to eliminate the extra efforts on escaping the double quotes. Something like this echo '<img src="'. $row['ImagePath'] .'" alt = "Country Music Nightclub Orlando" title="'. $row['ArtistDate'] .'" /> </a>';

Member Avatar for diafol
0
163
Member Avatar for amith_ami

If you need to learn how to make your own plugin or just want to have a greater understanding on how the WP plugins are built, go to this [site](http://codex.wordpress.org/). Before attempting to write your own, try adding your custom.js on the header. Sometimes lightbox and colorbox js files can …

Member Avatar for veedeoo
0
194
Member Avatar for richprich

may I know how domains access your API? Is it through GET request or something else? Example: yourSiteDotCom/api/search?q=something

Member Avatar for richprich
0
152
Member Avatar for ssfreaky

I would ask my hosting company first, for any changes they made on your server. It might be some major upgrades or changed of server appliance...e.g. apache to nginx or something similar.

Member Avatar for widi05
0
359
Member Avatar for sagisgirl

Your codes looks ok. Make sure $tentID is defined or have value otherwise it will give you an undefined variable tenantID, and sql syntax error .

Member Avatar for sagisgirl
0
163
Member Avatar for cheelo007

I am not sure, try freelancer site and look for a guy who goes by name veedeoo... nooooooo, I am just kidding :)... I don't do freelance work anymore. How big is your application?

Member Avatar for cheelo007
0
177
Member Avatar for rk4php

Same thing here, want to see more elaboration on bus. logic. It all depends on how your script stored the binary info. of the image. Is it base64 encoded or just a plain binary? I am not sure, but I think most BLOB are base64 encoded. Let us assume that …

Member Avatar for diafol
0
8K
Member Avatar for garyjohnson

Hi, All you need to do is cascade your file input like this <label>File One</label> <input type="file" name="file[]" id="file[]"> <br/> <label>File Two</label> <input type="file" name="file[]" id="file[]"> <br/> <label>File Three</label> <input type="file" name="file[]" id="file[]"> <!-- add more as needed -->

Member Avatar for garyjohnson
0
783
Member Avatar for suniverm
Member Avatar for prasadssaitwal

hi, What you need is a [javascript](http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm).

Member Avatar for veedeoo
0
394
Member Avatar for GraficRegret

Hi, Did you try changing this $query = mysql_query('SELECT description FROM events WHERE date = "'. $deets .'"'); to this? $query = mysql_query('SELECT description, date FROM events WHERE date = "'. $deets .'"');

Member Avatar for GraficRegret
0
162

The End.