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
~9K People Reached

32 Posted Topics

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
156
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
513
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
114
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
72
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
186
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
345
Member Avatar for JameB

i charge: - easy website : $1200 USD - medimum website: 1200-3500 USD - complex website: 3500 - 5000 USD - very complex: starts at 5k+ hour rate: $65/hour

Member Avatar for juliagarner
0
182
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
197
Member Avatar for gilgil2

this is how i do it, based on great feedback from the forum: **DB CONNECTION CLASS:** class db { /*** Declare instance ***/ private static $instance = NULL; /** * * the constructor is set to private so * so nobody can create a new instance using new * */ …

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
288
Member Avatar for aabbys

recomendation 1: on your local server run a cron to read the online database every minute, and get the reservation info recomendation 2: have the online version send you an email, then read the mailbox infor and insert a record on the local DB. recomendation 3: make the local server …

Member Avatar for aabbys
0
343
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
123
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
251
Member Avatar for extjac
Member Avatar for James Donovan
0
163
Member Avatar for pritaeas
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
95
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
85
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
403
Member Avatar for gauravbhandari

hi, I use 1and1.com as hosting provider. Here is what you need to do for 1nad1. http://faq.1and1.com/scripting_languages_supported/cron_jobs/3.html If your hosting is linux, i guess it would be very similar.

Member Avatar for extjac
0
214
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
325
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
117
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
133
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
70
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
162
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
134
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
172
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
160
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
165
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
186
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
79
Member Avatar for extjac

Hello, how can i send an email every 10 min? I want to query the database and then send an email.

Member Avatar for pritaeas
0
83
Member Avatar for extjac

Hi, i am trying to make this work but i guess i am missing something..... This is what i have: "db.php" [CODE] <?php DEFINE('DATABASE_USER', 'root'); DEFINE('DATABASE_PASSWORD', '123456'); DEFINE('DATABASE_HOST', 'localhost'); DEFINE('DATABASE_NAME', 'livesearch'); $mysqli = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASSWORD, DATABASE_NAME); if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } else { //connected …

Member Avatar for extjac
0
377

The End.