1,003 Posted Topics

Member Avatar for aseel_1

try replacing the $_SERVER['DOCUMENT_ROOT'] with the relative directory.

Member Avatar for veedeoo
0
159
Member Avatar for Prateek_2

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 …

Member Avatar for diafol
0
1K
Member Avatar for kategirdlelock

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/).

Member Avatar for veera100
-9
284
Member Avatar for kategirdlelock

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.

Member Avatar for redalert8
0
447
Member Avatar for mero_1

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 …

Member Avatar for DJBirdi
0
304
Member Avatar for shrutisk
Member Avatar for 4XGump
Member Avatar for veedeoo
0
133
Member Avatar for Cbn

just wondering, what is the purpose of for loop and increment? Is it for speed or for some other reason/s?

Member Avatar for wikit
0
506
Member Avatar for iConqueror

> Close your eyes and open your mind. Should solve the puzzle.

Member Avatar for veedeoo
0
125
Member Avatar for prasangi

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 …

Member Avatar for veedeoo
0
232
Member Avatar for hallianonline

@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 …

Member Avatar for hallianonline
0
252
Member Avatar for shawesome309

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 …

Member Avatar for JorgeM
0
205
Member Avatar for DJBirdi

I favored the hybrid of both approach. When you move to a new server, you can zip the files and off you go.

Member Avatar for JorgeM
0
232
Member Avatar for JulieR31392

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 …

Member Avatar for Borzoi
0
151
Member Avatar for Jack_9
Member Avatar for veedeoo
0
240
Member Avatar for sundeep.gurroby

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 …

Member Avatar for sundeep.gurroby
0
644
Member Avatar for Anjolie

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 :).

Member Avatar for veedeoo
0
391
Member Avatar for davy_yg

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 …

Member Avatar for veedeoo
0
322
Member Avatar for Jack_9

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 …

Member Avatar for veedeoo
0
227
Member Avatar for Jack_9

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 …

Member Avatar for almostbob
0
159
Member Avatar for Jack_9

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 …

Member Avatar for veedeoo
0
146
Member Avatar for ashalatha

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.

Member Avatar for veedeoo
0
283
Member Avatar for thasan406
Member Avatar for Sikander Nasar

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 …

Member Avatar for veedeoo
0
448
Member Avatar for ms061210

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 …

Member Avatar for veedeoo
0
293
Member Avatar for yeshamarques
Member Avatar for delta_frost

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

Member Avatar for delta_frost
0
262
Member Avatar for vizz

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.

Member Avatar for veedeoo
0
133
Member Avatar for hanspeare_1

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! …

Member Avatar for hanspeare_1
0
115
Member Avatar for Excizted

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 …

Member Avatar for Excizted
0
1K
Member Avatar for tanuja vykuntpu

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/).

Member Avatar for tanuja vykuntpu
0
120
Member Avatar for iConqueror

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.

Member Avatar for Reverend Jim
0
214
Member Avatar for iConqueror

I am having coffee, pause(sour gummy bear), coffeee, pause(gummy bear), coffeeee and more coffeeeee. :)

Member Avatar for Dani
0
163
Member Avatar for sundeep.gurroby
Member Avatar for Ehsan_3
Member Avatar for SimonIoa

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 } …

Member Avatar for SimonIoa
0
304
Member Avatar for iConqueror

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 …

Member Avatar for almostbob
0
195
Member Avatar for david.roun.7

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 …

Member Avatar for david.roun.7
0
126
Member Avatar for bolfescu

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.

Member Avatar for veedeoo
0
68
Member Avatar for samy.youssef.12

Did you try running this <?php phpinfo(); ?> scroll down the page and look for the mysqli table similar to the screenshot provided below. ![72ddcc2c5e1350a528eb59b81f3d8ce2](/attachments/large/3/72ddcc2c5e1350a528eb59b81f3d8ce2.jpg "72ddcc2c5e1350a528eb59b81f3d8ce2")

Member Avatar for veedeoo
0
70
Member Avatar for iConqueror

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 …

Member Avatar for rickyricardo5
0
109
Member Avatar for iamthwee

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 …

Member Avatar for iamthwee
0
977
Member Avatar for iamthwee

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 :).

Member Avatar for veedeoo
1
2K
Member Avatar for iamthwee

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 …

Member Avatar for iamthwee
0
333
Member Avatar for ravi142
Member Avatar for NuGG

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..

Member Avatar for NuGG
0
328
Member Avatar for london-G
Member Avatar for Bin_2

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.

Member Avatar for Bin_2
0
2K
Member Avatar for davy_yg

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 …

Member Avatar for veedeoo
0
258
Member Avatar for iamthwee

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 …

Member Avatar for veedeoo
0
133

The End.