PHP - Poker Software
I'd like to make myself a poker software that plays itself on all sites.
What I don't know is how to get the variables names that I need. I need the cards variables name and the buttons name. Any suggestion how I do it? Or if I could read the from the screen somehow. Thanks Similar TutorialsHello, Is it even feasible to create a multiplayer online poker or bingo site with PHP and AJAX? What type of architecture and programming languages are normally used for apps like that? Hello, I'm a beginner programmer, and for my first "php-script" im trying to deal myself two holecards. It's easy to get dealt the first card, but when the second card arrives I have to remove the first card from the array. How to do that? Or I could do like i have tried he if ($y != $x) { echo $y; }. Problem is when holecard number one = holecard number two it wont echo anything. So i need to say if holecard one = holecard two { do a new random }. But how do i do that? <?php function poker() { $cards = array("Ah", "Ac", "Ad", "As", "2h", "2c", "2d", "2s", "3h", "3c", "3d", "3s", "4h", "4c", "4d", "4s", "5h", "5c", "5d", "5s", "6h", "6c", "6d", "6s", "7h", "7c", "7d", "7s", "8h", "8c", "8d", "8s", "9h", "9c", "9d", "9s", "Th", "Tc", "Td", "Ts", "Jh", "Jc", "Jd", "Js", "Qh", "Qc", "Qd", "Qs", "Kh", "Kc", "Kd", "Ks"); $x = $cards[rand(0,51)]; echo "$x "; $y = $cards[rand(0,51)]; if ($y != $x) { echo $y; } } echo poker() . "<br>"; ?> Thanks! Anyone have any experience with something called Moodle at all? I have just been handed it to 'check out', I told them to 'get out'. Rw Hey guys, glad I found this forum! I have written a SMS gateway software using VB6 and would like to port to PHP. Is there a way to write it under windows OS? I m using the dio_* commands in PHP and it works, but I dont want to do infinite loop to read incoming sms... right now I do infinite loop until I received +CMTI and the while loop breaks. This is very redundant and costly, is there any way that PHP has a "timer" feature-like in VB6 to check on incoming sms, like say, every second? Thanks guys! This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=349065.0 This will be somewhat of a brain dump with somewhat vague questions. To summarize it right now, something about "refactoring software" has been bugging me. The length of the process, the work it takes, and the time, and the "no immediately visible results" that it produces.
There have been numerous questions on "do I refactor or rewrite". Depending on circumstances, one choice may work better than another, although historically for working projects (projects people are using continuously), refactoring seemed to do better, since it does not break things as much as rewriting does. And when things break all at once, such as when introducing a rewrite (which most likely has different behavior, UI, feel, workflow, etc. etc.), people tend to get upset. Well, refactoring seems to smooth out the 'upsetness' over a much longer period of time. People change as software changes, and each change is not as abrupt as with a rewrite. There are books written about refactoring software. That process takes time and work, `while not changing the functionality of the software`. Little improvements can be done here and there, but the main point becomes improving the internals of the software without affecting the outside behavior, the user experience. From the business end, *there are no changes!*. We have developers *doing busy work* without showing anything to the business, until perhaps much later. Is that bad? Where I work, I have business people scoff at "what have we been doing" quite regularly, and saying things like "add convertion from one unit system to another? Just put it in!" Which ends up me staring into vastness of legacy code and taking 2-3 weeks to "put it in", what in someone's mind takes a day at the most. But that's cuz maybe I'm slow, but I chose to refactor relevant code first, at least moving View items into respective view containers as a first step. What is the purpose of refactoring software? What, per se does it make better? What expectations can be set? What do I do next time someone says "it is taking too long", other than saying ... cuz I am refactoring! Hey, whats going on. i have been using microsoft access for doing all my queries. And they are pretty complex. One query can be the combination of like 8 tables. Do you think Access is the best program to build and run these queries or do you think there is better software out there for building queries. what do you suggest. It seems like Access cant handle very complex queries. A lot of times i have to break the queries down into 3 or 4 queries. i build one, export it to a csv file and then import it back into Access and build a new query on the new imported file. Please let me know what you think. Hello,
I'm looking for server management software, preferably free or low cost. I did some googling but could not come up with a good solution for what I need. I manage a small data center and currently keep all server information (IPs, Rack ID, Client ID, etc) in an excel sheet. Does anyone know of something that I can manage the server information more efficiently?
Thanks
I previously used https://www.phpdoc.org/ (not sure about the part 2 part) but got out of the habit. Wish to change, but had more installation problems than expected. Is it still considered a good solution? If so, any recommendations whether I should install using pear, phar, or other? Thanks Title: Software Developer Support Lead
About Us:
We are a small, rapidly growing software company based in Wilmington, NC. Our mission is simple: help companies, cities, and school systems save money in bulk fuel acquisition and managing their fleets of vehicles. We are in the fuel industry and we want transparency. We have a diligent, diverse team, which enjoys challenges and the joy of extracting our best in our daily work life.
Who We Are Seeking:
A charismatic individual to serve as a first line of defense for our software team's most valuable product. Ideally you would be happiest when making others happy, especially as it relates to solving elusive problems in code, or logic in a large, web application. If you have high expectations of your work, and that of others, and seek to solve problems at their core, this will be a good fit for you. We strive to deal with difficult problems today so that tomorrow will be a better place.
About The Position:
You will be the primary point of contact between our Operations and Development teams--this means you will have to help refine problems, research code, develop and apply rock-solid solutions, and work well with others in the process. In short, you will be coding, but you will also plan, weighing many potential outcomes, and test the result. You will need to know Linux, MVC frameworks, PHP, MSSQL/MySQL and have a desire to learn: both about technology and from our experiences.
General:
B.S. in Computer Science, or comparable
comfortable in PHP, MySQL/MSSQL, Javascript, jQuery
familiarity with any web framework (Yii experience preferred)
excellent communication skills
explain what is on your mind: with words, pictures, metaphors, UML, etc.
1 or more years of experience desired
Helpful Characteristics:
daily user of Linux (Arch, Fedora, CentOS, for example)
familiarity with vim, tmux
personality traits which would be helpful
methodical in nature
willingness to learn
desire to please
re-enforcing standards, rather than "just get the job done"
ability to work with a team
"Pair Programming" is a daily practice
regular code reviews
group project planning
plan first, act later
asking questions is considered a strength
highly communicative in nature
work with Operations Team to refine the actual problem
determine the source of the problem
propose solution to Software Architect
implement a solution
Please email résumé and cover sheet to development@goenergies.com.
I am working on an application and part of the requirements is to restrict the number of users that can log in based on a license. So on install, I will provide a license that allows for 10 user accounts to be created.
If the client requires 50, a different license will be provided that allows 50.
Regards This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=311981.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=306605.0 I Need help Integrating An Video Upload System Into The Mybb Forum Software. I understand You Need ffmeg +jwplayer ive already installed that on my server.But Now I Need A Little Help Integrating And Uploader Into The Software, So It Can Post The Video Into An Thred When My Users Upload. Hello I am a total beginner and don't know first thing about php, but still trying to figure this out. So what I am trying to achieve is, send a http request from a software to my website with a ticket number, is it possible in php to receive that request and show it on a different webpage of the same site? It would be helpful if you can point me to some related articles. To apply please click: https://hire.jobvite.com/j?cj=o0URYfwt&s=phpfreaks
This is an exciting opportunity to work on emerging and exciting products within an Agile development organisation in a growing, dynamic software company. Focused on developing the next generation of GFI’s cloud based products, the successful candidates will be part of a new team responsible for an exciting help desk and customer service platform based on a LAMP technology stack, the product allows our clients to efficiently manage communication and issues tracking over multiple channels (social, web, email and mobile) across their range of managed assets and end-users. The successful candidates will have experience in Object Oriented Programming in PHP (use of MVC frameworks such as CodeIgniter advantageous), experience with relational database design and front-end development (HTML/CSS/JavaScript). You will be Involved in every aspect of the SDLC, including specification and design, the successful candidates will have a hand in shaping the future of this exciting product. You will work in a highly collaborative environment where everyone is encouraged to understand and learn all areas of the system, the successful candidates will have a real say in how the system is developed, as well as SCRUM, Continuous Integration and Test Driven Development before seeing their code deployed and used online by our clients. But the words of some of our developers put it much better than we can: “Every one of our products carries the imprint of the people who built it.” “Being a software developer at GFI is challenging, fun and most of all rewarding: watching the code you’ve written deployed into production to become part of something bigger.” “The role is dynamic, you never know what issues will arise or what new features customers will request. GFI are willing to give you the time to cross-train to new languages and the close-knit teams of developers and testers provide all the support you need to succeed” “GFI may be an international company but they have successfully retained the small company feel where it is a pleasure to socialise with people inside and outside of work.” “In my role, I don't work on one boring CRUD application; instead I work on lots of cool things. We work with a diverse range of technologies, so there is always an opportunity to get your hands dirty with something new, and develop with the latest tech.” Check out this video showing A Visual Guide to Programming at GFI Software Developer - LAMP - Edinburgh Required Skills OOP Web Development with PHP5 Strong understanding of relational databases and design (MySQL) Strong HTML, CSS and JavaScript skills (Knowledge of HTML5 and CSS3) SVN Version Control Beneficial Skills Exposure to CodeIgniter (or similar MVC based framework) Test Driven Development Mobile Development Design Patterns Practical knowledge of implementing web services Understanding of email servers / MTA’s Knowledge of Linux/Apache ExtJS / jQuery Experience Software development experience in a professional environment is required. Experience of high-availability, high-volume applications in a cloud based environment would be beneficial. Qualifications The successful candidate will be educated to degree level in a software related discipline. Software Developer - LAMP - Edinburgh The Company The GFI Help Desk and Customer Service platform allows our clients to manage communication and issue tracking with their customers through multiple channels, such as social networking, email and web based communication. GFI Software provides web and mail security, archiving and fax, networking and security software and hosted IT solutions for small to medium-sized enterprises (SME) via an extensive global partner community. GFI products are available either as on-premise solutions, in the cloud or as a hybrid of both delivery models. To apply please click: https://hire.jobvite.com/j?cj=o0URYfwt&s=phpfreaks This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=353317.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=347431.0 Hi, A piece of software I'm using an array is made that looks like the following: Code: [Select] [["Select","Vehicle",0.142933,[0.15,0.4,0.05,0.01]]] How would I be best parsing it so: Square brackets currently showing an array becomes an array within PHP Text strings surrounded by "quotations" lose the quotation mark when stored in the PHP array Numbers remain as values in the PHP array The arrays can become quite large, so which would be the best way to go about it? Regards, Jason |