Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~8K People Reached
Favorite Tags
Member Avatar for extjac

I have a table that will have several fields, such as counties, age_groups, gender, sports, etc.. on countries I will be storing data with this format["US","CA","DK","FI","RU","SE"] on age groups I will be storing data with this format["2000","1999","1998"] on age groups I will be storing data with this format["M","F"] on age …

Member Avatar for extjac
0
154
Member Avatar for extjac

Hello! I have a table called Events and one of the colums is called "country". I want to be able to query events based on the user country. So eventID #1 might have "country" = US, CA, MX (multiple values), so if a user is from the US logs-in will …

Member Avatar for diafol
0
503
Member Avatar for extjac

Hello. I am trying to implement a Laravel API that will be consumed by different clients (domains). The API basically, sends json response to the clients. For instance, when the client app.anyclient.com sends a AJAX/post request to api.myapi.com/login …the API is able to validate and login the user; however, the …

0
111
Member Avatar for extjac

Hello, I am trying to populate the state drop-down based on the country selection. I creates this jQuery scrip that WORKS in firefox, chrome and mobile but for some reason does not work in IE8 (dont have IE7 or IE9 to test). What am i missing? //update states/province drwon down …

0
71
Member Avatar for extjac

MVC Design Question Hello, I would like to move an web application to MVC Laravel 4 (not sure yet). The challenge is that the application is used by many customers and each customer have its own website/front-end but they all use the same backend/admin. The strucutre is something like this... …

Member Avatar for extjac
0
183
Member Avatar for extjac

Hello, do you guys recomend any CLASS or script to create Thumbnails? what are you using these days?

Member Avatar for ashishrevar
0
243
Member Avatar for JameB

I was just wondering what the standard web design projects cost. Level of difficulty: Low Languages: HTML + PHP the most complex requirement is the payment processing capability.

Member Avatar for juliagarner
0
180
Member Avatar for extjac

What's your recommendation for PHP MVC frameworks?? i tested Codeigniter and it seem easy to use.... I am not a full time developer, but I do have some customers with backends, etc…My intention is to migrate some of old php code to PDO but I am now wondering if I …

Member Avatar for jkon
0
192
Member Avatar for gilgil2

Hi I have the following code being used to insert some data into a MySql database, all the error checks etc. are done before and those are fine, and the code returns connected successfully but nothing is put into the database, nor does the database check for duplicate usernames, because …

Member Avatar for iamthwee
0
2K
Member Avatar for extjac

Hello, what would be the best way to prvent people to run a php script/file that is on ajax.post(URL) $.ajax({ type: 'POST', url: 'http://www.mydomain.com/ajax/somefile.php?action=insert', data: data, success: success, dataType: dataType }); if you see code above...let's say that an advanced user or hacker go to: http://www.mydomain.com/ajax/somefile.php?action=insert i would like to …

Member Avatar for extjac
1
281
Member Avatar for aabbys

Hi All, Here you need to understand two points 1)A Book Store App (which is a web application) made on PHP and MySQL is running on local wamp server(in one computer locally) for store's proprietary use, which is running fine. 2)I stucked with implementing online(Internet) version of web app for …

Member Avatar for aabbys
0
341
Member Avatar for extjac

Hello, i have this code to the insert: class test { function __construct() { $this->table = 'testtable'; } public function insert($values = array() ) { foreach ($values as $field => $v) { $data[] = ':' . $field; } $data = implode(',', $data); $fields = implode(',', array_keys($values)); $sql = " INSERT …

Member Avatar for cereal
0
120
Member Avatar for extjac

Hello, i wanted to know what you guys use with PDO. Do you use ->fetchAll() or ->fetch() + while based on some reading i have done, it seems that PDO->fetchAll() is faster but uses more momory...

Member Avatar for pritaeas
0
201
Member Avatar for extjac
Member Avatar for James Donovan
0
162
Member Avatar for pritaeas

In addition to [my post in this thread](http://www.daniweb.com/web-development/php/threads/429740/php-best-practice#post1841569) I've decided to post an extended example, which also implements functions for inserts and updates. I hope the code is straightforward enough. If not, reply and let me know. The table structure I've used for my test is the following: CREATE TABLE …

Member Avatar for extjac
4
448
Member Avatar for extjac

Hi there, i was wondering if you can recomend a php class for google maps api v3. I statrted using this one today (http://code.google.com/p/php-google-map-api/) but i wanted to know if there is anything bettter out there... thanks

Member Avatar for rotten69
0
90
Member Avatar for extjac

Hello, I would like my customers to be able to add fields to a form, with differnt values, etc.. Basicly, i would like them to be able to add any type of fields and customize their forms; like google forms for instance. And of course, i need the databse to …

Member Avatar for iamthwee
0
82
Member Avatar for extjac

hello, i was wondering if you could tell me what would you diffent/better on the following code. I am trying to become a better developer and i would like to learn what the best PHP pratice is. I remove the comments to make it a bit cleaner //THIS IS THE …

Member Avatar for pritaeas
0
397
Member Avatar for gauravbhandari

Hi Friends, Can anyone one have an idea about how we make cron in php. I mean i have to records of 6000 email id and we have to send mail them randomly selected email templates with in 48 hour. Once student got the mail from then from the database …

Member Avatar for extjac
0
212
Member Avatar for extjac

Hello, i am working on PHP and jQuery trying to do a post with jquery. It seems to work in FF but IE is giving me several error: The follwing is the code i am using: <script> $(function() { $("#mainForm").submit(function() { dataString = $("#mainForm").serialize(); $.ajax({ type : "POST", url : …

Member Avatar for MarPlo
0
320
Member Avatar for extjac

Hello, I am trying to move 20 someting websites from a 1and1.com shared hosting to a 1and1.com cloud servers.....I found an issues that I havennt been able to fix. For every single INCLUDE or REQUIRE I am now getting "open_basedir restriction in effect" I read about, and it seems to …

Member Avatar for pritaeas
0
114
Member Avatar for extjac

Hi there, i am trying to use the classes proplery and i have a basic question....The following is the class i am using in order to get information from the DB...It is workinkg and i dont have any problem. But the question is how do i show the information on …

Member Avatar for veedeoo
0
129
Member Avatar for extjac

Hello, is there any way to show what the size of the records is? I mean, i have a database that almost 500Mb and I want to see what records are causing it.

Member Avatar for cereal
0
67
Member Avatar for extjac

hello, i was wondering if someone can explain me what the difference is between the following classes. I found class B nicer to use, but i want to have your comments..... [code] class A { public function setField($var) { $this->anyfield = $var; } } //this is how i use it …

Member Avatar for pritaeas
0
159
Member Avatar for extjac

Hello, i have a very basic question. Is there a way to hide the file name/folder (ajax/post.php) used on the AJAX post request? [code] $.ajax({ type: 'POST', url: 'ajax/post.php', data: data, success: success, dataType: dataType }); [/code] I dont want people to see this: 'ajax/post.php',

Member Avatar for johnsellinge
0
127
Member Avatar for extjac

Hello, I wanted to ask the full time PHP developers how important you think MVC Pattern is. Are you coding all your projects with MVC? Would you have any recommendation in terms of PHP frameworks?

Member Avatar for mschroeder
0
168
Member Avatar for extjac

Hello there! I am new with PDO and I am trying to replace the old code with PDO... The main issue i have is that i dont know how to get/use the objects vs the arrays when it comes to showing data. Please see bellow examples and let me know …

Member Avatar for veedeoo
0
147
Member Avatar for extjac

hi there.....I have been working with PHP for a few years now, but i am not a professional developer. I would like to know if you have some tips about the PHP best practice. For instance, i have been working on mysql but i know we have Mysqli..which one is …

Member Avatar for TySkby
0
161
Member Avatar for extjac

Hi there, happy new year to all! I started using PDO few weeks ago, and I am trying to figure out what is the best way to use it....I just put 3 samples bellow and I was hoping you can tell me what is the most secure and professional way …

Member Avatar for Stefano Mtangoo
0
184
Member Avatar for extjac

Is anyone familiar with this php class??? [url]http://justinvincent.com/ezsql[/url]. I am planing to start using it as framework. I think it is the based of Wordpress class.

Member Avatar for cereal
0
76