PHP - Moved: Best Cms For Developer To Build On, Then For Client To Maintain
This topic has been moved to Miscellaneous.
http://www.phpfreaks.com/forums/index.php?topic=319056.0 Similar TutorialsI have two questions, I was wondering what would be the best method to go about building client side API functions on top of a already built API eg. http://docs.whmcs.com/API:Functions
We would like to provide our clients access to API functions related to their accounts without giving them access to the whole Admin API where they can see a lot of our other client information.
The other question we have an API built using Basic HTTP Auth for API authenication (HTTPS). eg curl username:password http://api.etc.com) If so what would be the best way to secure this method?
Thank you I have a web portal which is scripted using client side scripting language i.e HTML. I want to create a login page in .php and want the other pages to be in .hmtl. Can i do so? I want to do this because i want the login password to be stored in a database. Also I want the password to get encrypted (by either MD5 javascript or OpenSSL ) when user enters it inside the login form. I cannot create the entire portal in php because my portal makes use of C code. And php doesn't have an interface with C language. Can a user get directed to a .html page after a secure login from login.php page ? My main aim is to secure the access to my web portal using a password. I tried to authenticate the login using javascript where the password was stored in an array. But i feel any one having moderate knowledge can easily break that password. Any help would be greatly appreciated!! This topic has been moved to Installation in Windows. http://www.phpfreaks.com/forums/index.php?topic=358758.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=346015.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=354998.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=353630.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=317142.0 This topic has been moved to PHP Freelancing. http://www.phpfreaks.com/forums/index.php?topic=318011.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=347977.0 Instead of breaking down and actually learning how to use ajax, I'm thinking about trying to do something so I don't need a page refresh every time, and the filtered data is nearly instant. I just use the session array var, and build a new array from the rows that meet the conditions. I'm thinking of loading a two dimensional array into a session var, then use some input buttons, and use the post vars to filter the array based on a set of predefined conditions. ie status = 0, status = 1. It's a fairly small number of conditions applied to two different fields. So, I need to access specific fields within a row, and essentially create a new array either including or excluding that row depending on whether it met the condition. I'm struggling on several parts. 1. not sure how to build the array so that I can access specific fields, then not sure how to access those fields. Do I do this..... to build the array? .... Code: [Select] while($row = mysql_fetch_assoc($result)){ $array[] = array($row['field1'], $row['field2']); } I was thinking about using a foreach and is_array() to get to each row... Code: [Select] foreach($array as $key => $value){ if(is_array){ foreach($value as $k => $v){ if($v[0] == 1){ //stuck here $v[0] is not a field, it's the first char of the string. not sure how to access a field $new_array[] = $value; //stuck here. I need to put the whole row back into the array if the condition was true. seems like I would have to use the field selectors and rebuild the array. } } } } What would you do? Open to any ideas. hi Lets say a member has 4500 points and I have this code: Code: [Select] UPDATE points SET members_point=(members_point+1000)....... but will not allow it to go above 5000 how should this be written? I wish to create validation rules once which are used both on the client and on the server.
For instance, I will start off with the following PHP object:
stdClass Object ( [rules] => stdClass Object ( [email] => stdClass Object ( [required] => 1 [email] => 1 [remote] => stdClass Object ( [url] => check-email.php [type] => post [data] => stdClass Object ( [username] => function() {return $( '#username' ).val();} ) ) ) ) [messages] => stdClass Object ( [email] => stdClass Object ( [required] => an email is required ) ) )When the edit page is downloaded to the client, I will include this object in some format suitable to the client. The client will then use the jQuery Validation plugin (http://jqueryvalidation.org/) along with the validation object, and client side validate the page. When the form passes client side validation and is uploaded, PHP will use the same validation object to serverside validate the form (I have this part working as desired). My question is how should I pass this data to the client? Originally, I would just use PHP to write some JavaScript. exit('var myObj='.json_encode($myObj));Note that when I json_encode the object, the value of $myObj->rules->email->remote->data->username is a string with quotes around it, however, I can easily use PHP to strip these tags before sending it to the client. As Jacques1 pointed out in http://forums.phpfre...ascript-client/, I should never ever use PHP to generate JavaScript, and should use AJAX to download the JSON directly. I tried doing the later, but found that a callback function could not be included in the JSON. Please advise on the best way to accomplish this. Thank you I have this Shopping cart that allows for the creation of products with product sizes and so if a customer purchases a shirt which regular price is $10 but he/she chooses a large size which is marked @ $12 then of course the shopping cart then charges $12 - then the customer receives a purchase notification email defining the purchase of the $12 size large shirt, and thats all fine except that currently the notification email defines the shirt with $0.00 price in a row and in another row it defines the shirt size with the $12.00 price. So it basically defines the product twice, and i don't want it to do that. I want the product price and size to all be included in the same row. Attached is the .php file that needs the modification. I had a developer tell me that it could not be done. Can someone please have a look at this file and tell me if its true that what I want cannot be done! - all i want to do is merge those two rows together. I've attached the php that is responsible for writing the tables containing the purchased items.
Attached Files
orderSaveAjax.php 25.56KB
7 downloads Looking for someone to create a client side script to meet the following requirements:
Client side
Login to multiple affiliate accounts of mine (around 30)
Gather information required
log out
Display results client side in a nice and organized fashion
Please PM me or e-mail me with approximate price given the requirements above along with your experience.
Payment will be through paypal.
e-mail a3lankee@gmail.com
Hey guys so I am making an App website and somehow need to make a developer section. So like developers can come and setup their app name,description etc. Then be able to program there own app and use like an API service to get the user username etc. So what would I need to let developers do a such thing like let them make an API key and all that is there some tutorial to make such service. (This will be an important feature to my website so please help, thanks)
I am urgently looking for a junior PHP web application developer with a portfolio of your code experience, no commercial experience will be considered to.
Please contact me to find out more!
Exciting opportunity for someone wanting to get a foot in the door in the world of IT!!
Hi the
My name is Tyler and I'm no longer actively working with PHP (other than the maintenance of some existing projects). It's time for me to hang up my PHP hat; but before I do I want to help out a fellow PHP developer. I have a bunch of projects I need to find a new home for so please excuse the following solicitation. But I figure if I can help out a fellow PHP developer by giving them work, then doing it on this forum isn't ill intentioned.
I want to help a new or intermediate PHP web designer/developer by giving them my client portfolio of hosted websites. If you're interested please read the full details he http://www.onixwebde...er-of-ownership
Hello, Who I am? An experienced ( 12 years ) WEB DEVELOPER from Ukraine specialized in web application development seeking employment for the creation of web based internet service presence and/or other related services for clients. I am Interested in working with both companies and private individuals. I`m opened to a dynamic range of offers, contact me for details. What I can do for you? I can develop appropriate solutions at very affordable rates e-commerce application shopping cart ordering system, credit card processing, verification, payment transactions management auction on-line service events tracking employment directory dating portal guest book counter system rating system news system custom web development, etc... my portfolio is at http://www.alexit.net/portfolio.html You can contact me via email alex77@alexit.net Thanks and I look forward to working with you. Alex Hello all, I currently started a project about a year and a half ago, and looking to finish it up. I will be running a MMORPG game, that I hope to go live with in about 2 weeks. Because of the pressure I have with everything else, I'm in the need of the following....
Website / CMS / PHP Developer (I guess an all-in-one?)
Someone who wants to have fun with this, and loves gaming.
I'm currently looking for someone who is into MMORPG / RPG games, because we know that the website must be very user friendly, and very attractive to make players not only wanna play the game, but enjoy there time on the website. The website will also look, if i can explain this correctly, very anime-type style. I have images from the game, and also game art which can be used. Looking for someone immediately. I have a budget for this project, but will pay good for a top notch website. If you can, please contact me via skype or email, and I will get to you as soon as possible. Skype is your best bet, and I prefer this method so we can talk person to person, and go over all the detail in one shot.
Thank you for your time, and I hope to hear from you soon!!!!!
SKYPE:
crazetony@hotmail.com
Email:
anthonycarloj@gmail.com
Contact me anytime. I'm logged on Skype all day/everyday.
My website is http://www.infotechnologist.biz.
We handle Web Site Development, web app development, and mobile development. No project is too big, or too small.
Contact me today with details.
My number is 4049390637.
|