1,003 Posted Topics

Member Avatar for craig.m.farish

This is possible with ajax and jquery on the client side. While on the server side, ASP, PHP, python, ruby, and node.js.

Member Avatar for JorgeM
0
122
Member Avatar for chrisschristou

if you are using PHP then you can probably use file_get_contents and store the output into your mysql database. Before doing that make sure to use base64_encode the html source to prevent any complications. Use LONGTEXT, Others may have different ways of doing this.

Member Avatar for chrisschristou
0
277
Member Avatar for softwaredeven
Re: php

In addition, you need to check if $_GET['d1'] is set, before assigning to variable $d1. Otherwise, the parser will assume it is set. You can wrap it up like this if(isset($_GET['d1']) && isset($_GET['d2])){ ## rest of codes here }

Member Avatar for almostbob
0
628
Member Avatar for zeeshan009

take a look [here](https://www.daniweb.com/search/query/0?q=pagination+php#gsc.tab=0&gsc.q=pagination%20php&gsc.page=1) and let us know.

Member Avatar for veedeoo
0
102
Member Avatar for Safer Heart

Here is a simple derivative of the linked thread above. I want to let you know that this is also a hybrid ( PHP and Javascript). I don't normally use server side time in displaying user time zone related content, but we need a reliable time reference. our simple function.. …

Member Avatar for veedeoo
0
188
Member Avatar for terryds

I really don't know why it has to be on the front-end. if that is the intension of the OP, IMHO , we don't tell the user if something is wrong in the back-end unless it is a user related such as 'we are conducting a maintenance at this time, …

Member Avatar for matrixdevuk
0
179
Member Avatar for saadi06

is it installed in Program Files or is it somewhere in the root drive e.g. c:/yourWAMP? Upated: put this on a new php page <?php phpinfo(); ?> direct your browser to this page.. What is the value of the compiler used in your current PHP? Normally, php 5.x.x are compiled …

Member Avatar for veedeoo
0
505
Member Avatar for davy_yg

Just the thought of having a production site hosted inside the xampp can make me cringed. [Uniform server](http://sourceforge.net/projects/miniserver/) is far better than Xampp in terms of production website security. However, that is not the right way serving websites for the web. If you are using windows, there is an Oracle …

Member Avatar for veedeoo
0
991
Member Avatar for annya

the error says it all mysql_real_escape_string() . page number is not a string, it is an integer. So, your validation should focus on is_numeric and FILTER_SANITIZE_NUMBER_INT. Make sure to remove ., +, - before evaluating which page should be deliver to your user.

Member Avatar for matrixdevuk
0
917
Member Avatar for OtepTheThird

I am not sure if this is exactly what you are looking for, but in PHP it is called transaction. The mysql ENGINE directives must be set to innodb. Normally, if you are using PHP MVC frameworks like fuel PHP, laravel, and even CI (lower level), these frameworks are pre-packaged …

Member Avatar for matrixdevuk
0
509
Member Avatar for lorenzoDAlipio

@D, Luckily, I always keep screenshots on my thumb drive and desktop. Here we go Mr. L.D.A yes it is a win executable or msi. The application is pretty lightweight. We experimented using a CSS framework like bootstrap. We used the tideSDK with Titanium SDK. Unlike PHP-GTK, we have more …

Member Avatar for diafol
3
257
Member Avatar for CrashDiesel

current time minus the time of the event. If the difference between these two is greater than or equal 10 minutes, you must set your user free.

Member Avatar for CrashDiesel
0
153
Member Avatar for bro_1
Member Avatar for razar63

> Warning: Cannot modify header information - headers already sent by (output started at /home/blahblahblah.php on line 24" try adding exit; after the header location.. Another alternative: if you want to redirect after the alert, then redirect can be wrap with <script> </script> as in echo "<script type=\"text/javascript\">alert('item succesfully added'); …

Member Avatar for broj1
0
1K
Member Avatar for gptArun

do as suggested above and then maybe you want to experiment something like this... if you know where to find httpd.conf on your server, then you can add .phtml into your directory index directives like so DirectoryIndex index.php index.phtml index.html index.htm index.cgi by default php can parse .inc, .tpl, php3 …

Member Avatar for veedeoo
0
89
Member Avatar for phoenix_2000

can you confirm that this is the right file location? <script src="vendor/videojs/video.js/dist/video-js/vjs.youtube.js"></script>

Member Avatar for phoenix_2000
0
2K
Member Avatar for PawelBujak
Re: Hi

You have arrived. Welcome to Daniweb. Your project is looking good and good luck to you.

Member Avatar for happygeek
0
196
Member Avatar for soomro_moon

IMHO, the hashed user_pass is not necessarily be the subject of un-needed iteration. if $md5_1=md5($_POST['user_pass']); is equal to 'password', then the hashed password is now equal to $md5_1 = '5f4dcc3b5aa765d61d8327deb882cf99'; and this print_r(str_split($md5_1)); will deliver $md5_1 as an array. Array ( [0] => 5 [1] => f [2] => 4 …

Member Avatar for cereal
0
555
Member Avatar for sergio_pb
Member Avatar for myfit

I truly admire people who can give updates when they found the solution. Thanks.

Member Avatar for veedeoo
0
275
Member Avatar for Mahesh57

did you include the [Javascript SDK](https://developers.facebook.com/docs/reference/javascript/) right after the <body> tags? for example, <body> <script> window.fbAsyncInit = function() { FB.init({ appId : 'Put__Your_Own_App_ID__Here', xfbml : true, version : 'v2.1' }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = …

Member Avatar for Mahesh57
0
371
Member Avatar for lui.szeleong

I don't think session_start() is needed in the constructor. If you do this after logging out print_r($this->session->all_userdata()); do you still get something ? You can try modifying this code 'password' => $this->input ->post('password '), 'logged' => 1 to this 'password' => $this->input ->post('password'), 'logged' => TRUE another question I have, …

Member Avatar for veedeoo
0
253
Member Avatar for soomro_moon
Member Avatar for soomro_moon
0
123
Member Avatar for diafol

I totally agree with cereal. That should work. The script from github was written by PHil Sturgeon. The same Phil who wrote the Pyro CMS build on top of CI and CI core contributor.

Member Avatar for diafol
2
718
Member Avatar for veedeoo

and the new home for codeIgniter is (drumbeat please... and another drumbeat) ...The [British Columbia Institute of Technology (BCIT)](http://www.bcit.ca/) in Vancouver, Canada. Please read the official announcement from ellislab [here](https://ellislab.com/blog/entry/your-favorite-php-framework-codeigniter-has-a-new-home). IMHO, the decision made by the EllisLab is in the best interest of CodeIgniter. Although, I am not sure how …

Member Avatar for veedeoo
4
434
Member Avatar for lester2020
Member Avatar for soomro_moon
Member Avatar for Shiksha
Member Avatar for Olga_2
Member Avatar for arafath077

I am using the fig-standard auto loader. Pretty much all frameworks today are using the [proposed loading standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md). to call static method of class with namespace, you can easily do it like this.. say we have a MyClasss with namespace namespace App\Doer; class MyClass { public static function just_do_it() { …

Member Avatar for veedeoo
0
187
Member Avatar for dwlamb

how about using jquery to get the browser information and then submit the collected information via ajax to the controller method and then assign them to session.

Member Avatar for veedeoo
0
652
Member Avatar for potatopie

Hi, You will have to let us know your server environment in which this script is running. For example.. wampp, xampp, or something else.. Looking at your codes above, it is utilizing the gmail account credentials. If you are running this script in production server environment, you will have to …

Member Avatar for Pradeep_9
0
3K
Member Avatar for UK-1991

@UK-1991, thanks for your message. I am confident that broj1 can deliver the solution to your problem.

Member Avatar for broj1
0
534
Member Avatar for Himesh_1
Member Avatar for Ripster

Do as suggested by JorgeM. While waiting for the challenging questions, spend some time reading some good PHP books from O'Reilly Media. **Pretty much inspired by what I have been through after all these years.** Attempt to create an application based on what you have learned. Critique the quality of …

Member Avatar for veedeoo
0
150
Member Avatar for markii.borabon_1

that is pretty nested. Try using[ switch statement](http://php.net/manual/en/control-structures.switch.php).You can refactor the $tbl_code==976 to 983 as one query using PHP range function e.g. range(976,983). range will give you an array. So, it would be nice if you can create a simple function to find out if the $tbl_code is in array …

Member Avatar for markii.borabon_1
0
277
Member Avatar for kaprikorn07

Do as suggested above and please don't be lazy searching it on google first. Some tutorial may not tell you that you need to enable the EPEL repository to be able to install phpMyAdmin. You will be needing [this](http://www.webresourcesdepot.com/10-free-web-hosting-control-panels-to-manage-servers-easier/), and I highly recommend virtualmin and webmin.

Member Avatar for veedeoo
0
194
Member Avatar for davy_yg

as already been suggested, stay away from using those short tags. I hate adding more confusion to a broken source codes, so I have decided to write a pretty simple quidelines on the basics of CI. You can either do it like this or follow the tutorials available online. Before …

Member Avatar for davy_yg
0
356
Member Avatar for Dieter_1

> I am sure I missed something somewhere in the changes been made in the newer versions of php and apache. No that's not it.. we can't blame the car manufacturer just because we forgot to put fuel. I know there are some problems with xampp and windows 7 combination, …

Member Avatar for Dieter_1
0
9K
Member Avatar for Rokas.Rud

I am just guessing here and I hope someone can look at your code thoroughly I suspect while loop is running to infinite cycle. $done = 0; while($done < 1){ for($c2 = 0; $c2 < count($open_nodes); $c2++){ } } It will continue to run who knows until when. While codes …

Member Avatar for lorenzoDAlipio
0
189
Member Avatar for Dani

You are doing fine I think. On the other hand, 443 is normally the default Virtual SSL host as defined in httpd-ssl.conf <VirtualHost _default_:443> the same port number is use by default in global SSL port to listen to. common in all apache.. #################### Global SSL ########################## Listen 443 https …

Member Avatar for lorenzoDAlipio
0
315
Member Avatar for janicemurby

you can achieved this by storing the member's status on the database. for example, + user_id + user_name + status + couple_id + +---------+-----------+---------+-----------+ + 1 + husband + married + 2 + +---------+-----------+---------+-----------+ + 2 + wife + married + 1 + +---------+-----------+---------+-----------+ So if either one or both …

Member Avatar for veedeoo
0
107
Member Avatar for patk570
Member Avatar for filipgothic
Member Avatar for lorenzoDAlipio

Hey, Mr. LDA AKA geegler from github welcome to Daniweb. Can you please show us how to develop an application using a PHP router e.g. front controller and dispatcher. I wrote a tutorial on basic MVC, but it is pretty much the same classes that we did long time ago. …

Member Avatar for lorenzoDAlipio
1
260
Member Avatar for Michael_29

can you try something like this ? $command = 'put all command here'; shell_exec($command); if you want it to work in the background, then you can do something like this shell_exec(" $command > /dev/null ");

Member Avatar for cereal
0
731
Member Avatar for David_49

Hello and welcome to Daniweb. I am not sure, but I think you can post on geek's lounge for feedback.

Member Avatar for David_49
0
166
Member Avatar for superior7867

not sure if [this](http://jsfiddle.net/nzYAW/) will help, but there is no harm in sharing.

Member Avatar for veedeoo
0
346
Member Avatar for Odyssey2001

Hi and welcome to Daniweb Odyssey. @markjonson that is pretty clever way of posting your spam on Daniweb.

Member Avatar for veedeoo
0
65
Member Avatar for krayner3

The End.