1,003 Posted Topics
Re: try replacing the $_SERVER['DOCUMENT_ROOT'] with the relative directory. | |
Re: There is also an ERP applications written in PHP e.g. [epesi](http://www.epe.si/),[ web ERP](http://www.weberp.org/), and some more[ here](http://sourceforge.net/directory/business-enterprise/enterprise/erp/os:windows/freshness:recently-updated/) ( not all PHP, but you should be able find PHP. ASP.net is not a language itself it is a framework that can take VB, C#. It will be your language choice either … ![]() | |
Re: you can start [here](http://www.w3.org/2002/03/tutorials.html#webdesign_htmlcss) and practice on these [templates](http://www.dynamicdrive.com/style/layouts/category/C10/). | |
Re: there are many tutorials and readily available scripts out there. There is one [here](https://github.com/veedeoo/RegistrationForm). It is an old one, but it should be able to do the job. I was planning to make an update, but the original owner won't repond to my requests. | |
Re: Hi, You can try paypal API [here](https://github.com/veedeoo/PHP-PayPal-IPN). The implementation is fairly easy. Just make sure to sign up for your Paypal sandbox account for testing. On the sandbox, you create the seller and buyer accounts. Create a page with test products similar to your actual production site. Call the api … | |
Re: Check for corrupted files and proper files and directories permission. | |
Re: just wondering, what is the purpose of for loop and increment? Is it for speed or for some other reason/s? | |
Re: Hi, **I know this is 6 years old post, but if you want a fix for a 6 years old post, please read below.** Here is a good [tutorial](http://davidwalsh.name/backup-mysql-database-php) . It is an old one, but I will give you the fix for it. copy the code shown on david's … | |
Re: @hallianonline, Cereal, have provided more than enough to solve your problem and if you need more please follow link below.. [another one](http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters) for you. The answer to your question is located about 3/4 down the page. This is only an example and you may need to research the codex for … | |
Re: If your boss is delegating this responsibility to you, I believe you should ask him to at least buy you a Cisco Packet tracer and practice on it. You can troubleshoot the firewall rules. You can also analyze access list, IP, ports, NAT and many other good things that may … | |
Re: I favored the hybrid of both approach. When you move to a new server, you can zip the files and off you go. | |
Re: Is there any way of finding if the email has been sent? Hold on.. I have an idea. Change the bottom part of your code to this.. echo(mail($usr_email, "Login Details", $message, "From: \"Member Registration\" <admin@mysite.com>\r\n" . "X-Mailer: PHP/" . phpversion()) ? 'Email Sent' : 'Email not Sent'); ## we don't … | |
Re: PHP is one of the best web platform and we want it to stay that way. | |
![]() | Re: password_hash for PHP version 5.5.x can verify the password from the user's input. for example, we have user submitted form data $password = $_POST['password']; $username = $_POST['username']; ## don't forget to sanitize everything. $your_query = "select username, password from USER_TABLE WHERE username = '".$username."'"; ## execute your query here and … ![]() |
Re: Because I am way so much younger than the majority, I can't say much about my experiences in life. However, why worry about age? I thought humans are like fine wine, we get better with age :). | |
Re: davy_yg, Common man, you been writing application all these years. I know you can do it. Here is an example of a basic table structures of a internal PM system. Similar structure I used on the codeIgniter Library I wrote in the past. here we go : Table Name: messages … | |
Re: Android Apps are pretty much written in JAVA compiled in android SDK. The only thing that the PHP can help achieving the mobile apps is to provide the API in the form of RSS or XML. Even so, XML and RSS are not always a good source of data. What … | |
Re: Yes, it is possible in [Phalanger and ASP.net](http://www.php-compiler.net/blog/2011/phalanger-3-0) environment. I lifted these codes from this [website](http://www.php-compiler.net/blog/2011/c-sharp-app_code-php). <b>Camels created: </b><?= Class1::$CamelsProcessed ?><br/> <b>Previous camel: </b><?= Class1::$LastCamel ?><br/> <?php $x = new Class1; $growncamel = $x->MakeCamelFromGet(); // $x->Camel( $_GET['babycamel'] ); if ($growncamel): ?><h2><?= $growncamel ?></h2><? endif; ?> Noticed, how seamlessly the PHP … | |
Re: It all depends on the quality of codes you can deliver. If you can write an application pretty close or at least at the same quality as the application written in Django framework, you can get paid pretty high. In my area, the minimum Object Oriented Programmer with MVC framework … | |
Re: Honestly, active record method insert() will only return boolean true or false after the query has been executed. If you want to make sure that the response is taking into consideration then, I strongly suggest for you to use [transaction](http://www-scf.usc.edu/~adportno/apache/htdocs/adportno/hw5/user_guide/database/transactions.html). Pretty much you probably need to do the transaction manually. | |
Re: I believe this is not something you can achieved without the help of a Payment Gateway through API e.g. paypal, echeck.net, evp snap and many others. In creating this type of application, the first thing that should come up for consideration is "Liability". It is always nice to have a … | |
Re: Just another deviation of the two proposed solutions above on a single loop. $string = 'string1-1/string2-2/string3-3'; $array_string = explode('/',$string); foreach($array_string as $items){ $item = explode('-',$items); echo 'Item : '. $item[0].' Price: '.$item[1].'<br/>'; } returns Item : string1 Price: 1 Item : string2 Price: 2 Item : string3 Price: 3 you … | |
Re: My first <HTML></HTML> page was created when I was 9. ![]() | |
Re: how about rating and comment system. member playlist or view list ( member can save photos in their playlist). flagging function where users can flag photos for immediate admin reviews recommendation function: members can recommend they like most viewed photos most recommended photos top rated photos. most commented photos | |
Re: Wow, that's pretty big investment right there. The last time I heard it was up for $185,000 per TLD.. Good luck to you. | |
Re: Let me give you the hints first... line 29, 35, and 38 are not valid statements. Line 36, you've used COMMIT which is the last query segment in trasactional. The BEGIN query should be intiated first and then your update query followed by the COMMIT to finalized the transaction. IMPORTANT! … | |
Re: for this mdEnc.update(source.getBytes(), 0, source.length()); not sure if you can get away with it using the PHP function called [ord ](http://www.php.net/manual/en/function.ord.php) . Again, I am pretty much speculating here trying to mimic that iteration effects against the length of the input string. In PHP the lenght of the string can … | |
Re: In addition, you can also consider[ Django](https://www.djangoproject.com/) python web framework. There is one example[ here](http://lightbird.net/dbe/forum1.html) and more[ here](https://www.djangopackages.com/grids/g/forums/). | |
Re: The first thing I always learn and get myself familiarize with is the language construct. Regardless of what programming language it is, their language construct is the most important. | |
Re: I am having coffee, pause(sour gummy bear), coffeee, pause(gummy bear), coffeeee and more coffeeeee. :) | |
![]() | Re: you cannot exit when you are already outside the block. |
Re: I am not sure, if this is want you want session_start(); if(!isset($_SESSION['uid'] || $_SESSION['uid'] == ''){ ## session don't exist or not set ## do what you need to do. } or alternatively we can do the positive session_start(); if(isset($_SESSION['uid']){ ## redirect to the page for logged in users } … | |
Re: 1. I was about 9 basic programming. CGI with Perl at 10 and then, I almost took over the world when I was 10 ( Just Kidding :), but it was true though). I was banned for 3 years to use any kind of computer or anything that may appear … | |
Re: You could try something like this.. something pretty easy without function and no object.. $option_block = ''; //this actually prevent the error just in case it is zero results. $query=mysqli_query($rcon,"SELECT userid FROM registration"); while ($row=mysqli_fetch_array($query)){ $option_block .= '<option name="to">'.$row['userid'].'</option>'; } then on your page witht he form, you can do … | |
Re: I think you can do it with [rollup](http://dev.mysql.com/doc/refman/5.0/en/group-by-modifiers.html).. There is one example there that pretty much identical to yours. | |
Re: Did you try running this <?php phpinfo(); ?> scroll down the page and look for the mysqli table similar to the screenshot provided below.  | |
Re: Welcome and Hello! I really don't know what to say about your career, and I honestly believe that I am in no position in giving such kind of advice. Besides, I am a lot younger than you. However, I was always told to explore many things that I may have … | |
![]() | Re: I suggest to save the old config files and then write a new one. Another way of doing this is to write a new XML file for all of the user's settings and parse it as the config file. Similar to the one found in Symfony2's yaml file. Or the … ![]() |
![]() | Re: I am using this for both production and development. The only difference with yours is the PassThrough RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [PT,L] $0 or $1, don't really matter :). |
![]() | Re: most webhost recommends 755 for the directories and all files are defaulted at 655, except for files where writing is needed. on servers that are still running on apache module as server API, they normally have 777 to be able write and this is also true as default on all … ![]() |
Re: Hi, This works $json = '[{"result":"success","success":"1.7.2","source":"version","tag":"sampleTag","is_success":true}]'; print_r(json_decode($json, TRUE); I suspect that the error is coming from the url source.. | |
Re: I second the quantum computing. | |
Re: If we want FIFO, then we can sort by the date in DESC order. It will be easier if the date is in unix timestamp. Just reverse the order for the LIFO order. | |
Re: I am currently developing one. So far, it is about 60 percent finished. A friend of mine who is Computer Science Professor have been asking me for almost 2 years now to build a lecture, quiz, test and grading application using the codeIgniter/Smarty/bootstrap. The quiz and the exams classes are … | |
![]() | Re: Migration is an excellent tool in version upgrades of your distributable application. For example, you distribute an application called iamthwee's fine CMS. Few months after your beta release, you've just relized that a beta version 2 needs to be released as an ultimate upgrade, and in this particular release you … |
The End.