335 Posted Topics

Member Avatar for gabrielcastillo

We as a community of developers and deep thinkers should create a funtion that will decipher broken english. I understand this is a huge world and a global community of like minded individuals and IT professionals, but english is the majority written language in this comminuty. Having to read some …

Member Avatar for Reverend Jim
0
235
Member Avatar for momonq1990

you dont have to use xampp.. you can use iis, or db2 you could get a db hosting account, or setup a small linux server with opensource software.

Member Avatar for Alberto Bucur
0
183
Member Avatar for davy_yg
Member Avatar for jackwilson10016

Here is a brief run down. The only think you need to learn, and this comes from practice, is the syntax. Hope this helps. //Always have a doctype declaried. This tells the browser what you are displaying <!doctype html> //Html pages are wrapped in html tags "<html> = open tag …

Member Avatar for Zalingo
0
138
Member Avatar for vaultdweller123

This should work. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule (.*) $1.php [L] </IfModule>

Member Avatar for vaultdweller123
0
880
Member Avatar for com00085

You would need to use ajax calls for this. Its pretty easy with the jQuery Library [Docs](https://api.jquery.com/jQuery.ajax/)

Member Avatar for com00085
0
161
Member Avatar for Kevin_7
Member Avatar for grafic.web

This is not my slider, but I've used in a few projects before.. work good for just a very simple image slider. //html <ul id="html-slider"> <li><img src="" alt="" /></li> <li><img src="" alt="" /></li> <li><img src="" alt="" /></li> </ul> <div id="counter"></div> //CSS #html-slider { height:200px; list-style:none; margin:; padding:0; overflow:hidden; position:relative; } …

Member Avatar for grafic.web
0
490
Member Avatar for daniel.conlinjr.1
Member Avatar for sushilsth
Member Avatar for david.roun.7_1

I rewrote you code so I could read better, and the only thing I see is the missing file extention. <?php session_start(); require('connect/connect.php'); $name = $_SESSION['name']; ?> <table id="intro"> <tr> <td><strong>Welcome: <?php echo $_SESSION['name']; ?></strong></td> <td><strong>Your Login Id is: <?php echo $_SESSION['loginid']; ?></strong></td> </tr> </table> <p>A photo about me:</p> <?php …

Member Avatar for david.roun.7_1
0
261
Member Avatar for gabrielcastillo

Not sure if this is me or the site, but everytime I search a topic or tag in search, I get nill to null results. I did a search today and got back 3 results that were usersnames created 1-3 year ago. Not very useful.

Member Avatar for Dani
0
110
Member Avatar for chaitu11

Need to see your code, but you are basiclly doing a submission on reload. Maybe do some validation checking, or check if field exists in database and respond with error.

Member Avatar for JorgeM
0
106
Member Avatar for rico82212

I think you need to have AllowRemoteRPC enabled on all machines that will be using the service.

Member Avatar for gabrielcastillo
0
116
Member Avatar for Noralyn_1
Member Avatar for nufftalon
Member Avatar for iamthwee

I usally break up the process when using ajax in CI. This example is a login form. The methods are placed in the login controller. Form View: public function index() { $this->load->viewA('login', $data); } Form Processor: public function login_processor() { $this->load->library('form_validation'); $this->form_validation->set_rules('username', 'username', 'required|trim|xss_clean'); $this->form_validation->set_rules('password','password','required|trim|xss_clean'); if($this->form_validation->run() == false){ $errors = …

Member Avatar for iamthwee
0
4K
Member Avatar for silent lover
Member Avatar for Zalingo
0
135
Member Avatar for andi-dev

Sounds like you move the php code out side of the php xampp. if the page is contact.php you need to have the file run through xampp or some sort of web server. You can not run php files on your desktop with out the help of php engine and …

Member Avatar for andi-dev
0
447
Member Avatar for kareythomson

Include or required the config file where ever you need it. `require($_SERVER['DOCUMENT_ROOT'] . '/application/config/config.inc.php');`

Member Avatar for diafol
0
317
Member Avatar for engrjd91
Member Avatar for nufftalon
Member Avatar for iamthwee

I believe wordpress uses a similar process. Wordpress uses a function called nonces. numbers used once. They dynamicly insert this into form submission to make sure the post is valid. This could be something to research and find a solution.

Member Avatar for iamthwee
0
163
Member Avatar for john_56

Depending on how you build your mobile app. you can use html5 and javascript library like jquery mobile, you can built a native app. Native apps like iOS or andrioid have their own language. Mobile frameworks are becoming popular now, it makes it real easy to build an app. Sencha …

Member Avatar for gabrielcastillo
0
176
Member Avatar for davy_yg

Check out this function. Refactor you code a bit. [Link](http://www.daniweb.com/web-development/php/code/470958/send-email-function#post2064725)

Member Avatar for davy_yg
0
174
Member Avatar for saadi06

you can create a print css style sheet. Here is a good [artical](http://coding.smashingmagazine.com/2011/11/24/how-to-set-up-a-print-style-sheet/)

Member Avatar for gabrielcastillo
0
68
Member Avatar for chozotheqhai

Try a more updated way of mysqli. Example. $dbc = new mysqli('localhost', 'user', 'pass', 'demo'); $sql = "INSERT INTO table_name(``,``,``,``) VALUES('','','',''); $results = $dbc->query($sql); echo 'Total Rows: ' . $dbc->affected_rows; $results->free();

Member Avatar for gabrielcastillo
0
163
Member Avatar for rajendher
Member Avatar for rajendher

you do not need database to create breadcrumbs. That's what you are looking for. you can accomplish this with the global $_SERVER variable. This might get you started: [link](http://phpro.org/classes/Breadcrumbs.html)

Member Avatar for rajendher
0
216
Member Avatar for iamthwee
Member Avatar for iamthwee
0
7K
Member Avatar for youvi

I have used CDYNE for sms app, works well. They have some policies that you might want to checkout befores signing up but thy do provide good service.

Member Avatar for gabrielcastillo
0
298
Member Avatar for davy_yg

you can start by wrapping you ul#nav in a li item and setting the display to none.

Member Avatar for davy_yg
0
135
Member Avatar for Orgil_1

I believe you sql statement is incorrect, and some of your logic maybe incorrect as well. I wrote out the code you may want to try. Using $_POST inputs need to be sanitized and valided before you insert in to database. You are leaving yourself open for errors and attacks …

Member Avatar for Orgil_1
0
246
Member Avatar for chaitu11

Is this a wordpress site you are using? If so try akismet, its installed by default. You can get a personal lic from the site or you can purchase a company lic.

Member Avatar for diafol
0
146
Member Avatar for gabrielcastillo

Hello, My name is Gabriel, I live is Nothern California (Bay Area). I work as a freelance developer for multiple companies. I internal web apps, custom wordpress site's and do a lot of site maintenance. I feel I am a life long student when it comes to programming and I …

Member Avatar for Dani
0
77
Member Avatar for bibiki

What about using `htmlspecialchars_decode()` in your textarea [Docs](http://us3.php.net/manual/en/function.htmlspecialchars-decode.php) Example: <textarea rows="" cols="" name=""><?php echo htmlspecialchars_decode($data['content']); ?></textarea>

Member Avatar for bibiki
0
986
Member Avatar for sanjay@srvmedia

What do you mean? Can you post code? if you want ajax to send json you need to tell ajax function to send json, if you want php to send json you tell php `json_encode();` or you can use `json_decode();` with jquery its pretty easy. var data = 'object':{'key'=>'value', 'key2' …

Member Avatar for diafol
0
367
Member Avatar for nazree.zeko

I would agree use jquery library to make things simple. but the looks of you validation function why do you have '' backslash.. are you tring to escape something.. I think you might be confussed. Most browsers will except required="required" in the input elements now. This will check if the …

Member Avatar for nazree.zeko
0
249
Member Avatar for Priti_P

Im pretty sure google sec policy will not allow you to interact without logging in. Not 100% sure.. You may find a work around use php & cURL

Member Avatar for gabrielcastillo
0
249
Member Avatar for shuvobd71

Static websites are site that do not change much or have hard code content.. Dynamic sites are database driven websites or have dynamic varable content. Most dynamic sites have a content management system like wordpress, blogger.

Member Avatar for dianemcmillan
-2
180
Member Avatar for weblord

if you google free hosting you can find a lot.. not the best but they are out there.

Member Avatar for gabrielcastillo
0
65
Member Avatar for rubai

you need to use the `delete_option();` on a deactivation method register_deactivation_hook( __FILE__, 'remove_options' ); function remove_options() { delete_options('plugin_options'); }

Member Avatar for rubai
0
316
Member Avatar for happygeek

Here is one that came to my head when I seen the thread. "Twenty-twenty-twenty four hours to go I wanna be sedated" Ramones

Member Avatar for happygeek
0
271
Member Avatar for john_56

Hello John, Good luck with your studies. Daniweb is a great place to find answers that you need. Just remember people are always willing to help if you are willing to help yourself.

Member Avatar for JorgeM
0
227
Member Avatar for john_56

Can you copy and page the code so we can have a look. T_String error is usually a missing delimiter or closing tag. I would need to see the code.

Member Avatar for john_56
0
157
Member Avatar for brandonpk

Can you be more clear with your question? You can use php to read your excel spread sheet and display on to the html page, or you can upload to database and then output the contents.

Member Avatar for gabrielcastillo
0
113
Member Avatar for Thkaal

Not sure if this will help, but here is a ipn I use for diffrent projects. I modified the code to insert your database query. if you run this it should insert your records.. or give you a log file that will show you what is going on. This is …

Member Avatar for Thkaal
0
765
Member Avatar for vinsbg

diafol is correct. This would make your site scalable in the future. You can add a select category option in your upload form. Then create a trigger in your database that will insert the cat_id with the image_id in the imageCategory table. Or you could create a query like so: …

Member Avatar for vinsbg
0
213
Member Avatar for Monica_1
Member Avatar for miyotz

Why not use a library like jquery or prototype.. You could accomplish the samething with few and robust inline code.

Member Avatar for diafol
0
1K

The End.