-
Replied To a Post in (Your Opinions Needed)
There are two main issues in your question. The first has to do with the use of mysql functions , that are deprecated and removed in new PHP versions , … -
Replied To a Post in Web Service using SOAP
Hello, You must understand that you don't ask about how to use web services in PHP but what is going wrong with the specific tutorial that you read. That means … -
Replied To a Post in undefined variable error
You wrote that you declared the variable $knowyou in the top of the code , you didn't . You just have a comment there with the variable name that doesn't … -
Replied To a Post in how to use explode like this?
I am writing this no as response to the question that smells like a test , I am writing it because I believe that there is a bad perception for … -
Replied To a Post in Get variable from json select option php
Hello, as diafol wrote (twice) the way you are doing it keeps only the last record data. @see foreach at php.net . There are many ways to do it client … -
Replied To a Post in creatings html row from a database
Yes of course diafol , we could also have a View Util class for data tables e.g. <?php class View_Utils_Table { /** * Creates a new View_Generator_Table using the headers … -
Replied To a Post in creatings html row from a database
Diafol answer is (of course) accurate and enough. I hope he don't mind I wrote one more example using a very simple view component HTML generator class for tables. <?php … -
Replied To a Post in Notification
Hello UK-1991, There many ways you can implement such functionalities here is just one of them. First lets talk a bit what means “upload an Image” and how we can … -
Replied To a Post in PHP upload files to database
Stefan_1 there is the concept of repository that works together with db. Very quickly how it works : we have a folder named repository above public_html (not accessible through browsers) … -
Replied To a Post in .php or .html?
almostbob we can't prove anything because we are talking about more than a decade ago. But also then , I had made tests suggesting that there were no difference among … -
Replied To a Post in Nature's Temper
Luckily earth will run out of petrol and gas before we destroy it completely ... All these environmental agreements isn't really any progressive step forward , but just a rough … -
Replied To a Post in thesis
Actual “thesis” means your point of view in something that you feel and understand quite well about it. Having others proposed a subject for a “thesis” doesn't make any sense -
Replied To a Post in No more www, what would happen?
What would happen if internet cease to exist is that we (as human kind) will built it once again. I am a bit troubled of how this would be done … -
Replied To a Post in PHP Registration Form for Username
What is you db schema regarding users ? (SHOW CREATE TABLE x) -
Replied To a Post in .php or .html?
Once upon a time there was a belief (with no real facts supporting it) that search engines treat .html better than .php in URL's (so you could generate a .html … -
Replied To a Post in using php with html & css
lewashby as I understood you are programming in PHP in one block pure in procedural way. I will not start explaining how OOP or even differentiating the view from the … -
Replied To a Post in How to keep highlighting parent menu when its child is selected
Has this anything to do with PHP ? -
Replied To a Post in PHP unique ticket ID
Stefan_1 would be great if you read once again what HTML is , what is JavaScript and what is server side programming languages like PHP (believe me this could help … -
Replied To a Post in How to keep highlighting parent menu when its child is selected
Hello chaitu11, First you must make a question , not only the in the title of your post. Secondly would be great if you explained what you are trying to … -
Replied To a Post in Notification
It would be great if you first explained what you are trying to do and then describe of how you are thinking to do it. As I understood you want … -
Replied To a Post in Change the time in the variable
You're welcome mark103 , just mark it as solved. (cereal no problem , there are several times that I response the same time as others) -
Replied To a Post in Change the time in the variable
<?php $timeInString = "5:00 PM"; // @see http://php.net/manual/en/function.strtotime.php $timeStamp = strtotime($timeInString); // @see http://php.net/manual/en/datetime.construct.php $dateTime = new DateTime(); // @see http://php.net/manual/en/datetime.settimestamp.php $dateTime->setTimestamp($timeStamp); // @see http://php.net/manual/en/dateinterval.construct.php $dateInterval = new DateInterval("PT5H"); // … -
Replied To a Post in Best way to learn php
+1 diafol , learning how to learn efficiently is the key point in any science , but this is rather a mature statement. When you are just starting and want … -
Replied To a Post in Best way to learn php
First be ready to run PHP (XAMPP WAMPP or whatever) then a decent PHP IDE (Eclipse , Netbeans , PHPstorm ... what ever). Read many tutorials and on line books … -
Replied To a Post in How Do I Organize the Classes for this Project?
Nathaniel there are many things in your code that I have comments . Before organizing objects in collections first you should understand what you are doing (in my opinion). You … -
Replied To a Post in Apache WSS Secure WebSocket
Hello ryantroop , indeed websocket communication does a HTTPS or HTTP request for switching protocols. I've never had any problem with this first request when using http and ws protocols … -
Created Apache WSS Secure WebSocket
Hello, I made a WebSocket service in Apache under CentOs with PHP and JS that works great if the protocol is ws:// . The problem is that the site is … -
Replied To a Post in pre-populating <input type='file' with default
If it is just theoretical there is no harm to talk about it , it is a gain (but I haven't read any solution of emulate repopulating file inputs although … -
Replied To a Post in Change marker on html element hover
because view has nothing to do with a programming lannguage (other than it populates it) ... this question would be great for the CSS section of dani . But to … -
Replied To a Post in pre-populating <input type='file' with default
Why are we talking about that ? It is quite simple and elementary , or save the files in the first step as temp or have the form in one … -
Replied To a Post in How to retain value file upload input in codeigniter
I believe that this post is live only because the author didn't marked it as solved , he made a second post in this sequence with another approach , so … -
Replied To a Post in Sending Email before 2 days
As I understood you save dates in your db as timestamps int(10) so the first thing you have to do is finding the timestamp the day before yesterday. If you … -
Replied To a Post in PHP function with argument
It seems from your code that you don't know much about functional programming either. So what is your question exactly ? -
Replied To a Post in PHP function with no argument
It seems from your code that you don't know much about functional programming either. So what is your question exactly ? -
Replied To a Post in sending form data as email with attachments
Lets suppose that the variable name that you keep in session is example . e.g. `$_SESSION["example"] = "something"` . You use it after `session_start()` by `$_SESSION["example"]` , in your case … -
Replied To a Post in sending form data as email with attachments
http://php.net/manual/en/reserved.variables.session.php If you have any questions about it we are here , but (please) take a minute to read first -
Replied To a Post in Making queries with external link
To be honest I didn't understood how you know product ID's if the reseller end don't communicate through some other ways with the seller end? If there is some other … -
Replied To a Post in Dynamic subdomain creation
I suggest to view this demand from another perspective. As I understood you just need to configure your domain for wildcard subdomains (just Google it, and if you have any … -
Replied To a Post in How to integrate login in html in ossn framework php?
Doesn't that framework has a community ? It seems that you are not asking anything that has to do with PHP code but only about the architecture of that framework … -
Replied To a Post in I am good enough for this
This seems to be a very touching thread and as such I feel the need to spoil that feeling ;) . No , you should fear Gideon. You are entering … -
Replied To a Post in How to Improve Test Program on Classes?
I will try to keep this answer short. I understand that you are now learning OOP , you are following tutorial that mix PHP functional with OOP or you create … -
Replied To a Post in How to Improve Test Program on Classes?
The term “dirty” OOP as I used it , refers to writing in object oriented programming style bar keeping the same functional or even procedural logic. But I believe my … -
Replied To a Post in How to Improve Test Program on Classes?
I have never understood why so much effort has been done to PHP OOP MVC understanding to pair a Controller with a model class. The model lives there without a … -
Replied To a Post in Fatal error: Maximum execution time of 30 seconds exceeded
I hope that you don't mean an actual WS / WebSocket because if so you have got it all wrong. If on the other hand you are just trying to … -
Replied To a Post in PDO database select not returning expected data
Are both trimmed ? Also what is the password type of the table field (could be smaller)? Irrelevant but Notice: That the PASSWORD_DEFAULT might change from one PHP version to … -
Replied To a Post in PDO database select not returning expected data
What do you mean that now it is working ? Do you finaly got results and the next thing is that you can't verify the password? -
Replied To a Post in PDO database select not returning expected data
Could be a charset issue ? For example if the username field is UTF-8 and the connection in the PDO isn't defined as UTF-8 (or with SET NAMES) then this … -
Replied To a Post in PDO database select not returning expected data
Next I can see is that there is PDO::FETCH_ASSOC and not PDO::FETCHASSOC @see http://php.net/manual/en/pdostatement.fetch.php -
Replied To a Post in PDO database select not returning expected data
I use question mark placeholders with PDO but why do you have single quotes around :user in your SQL statement ? -
Replied To a Post in How to Improve Test Program on Classes?
Almost ;) . As you seen there is a view template class RectanglePractice that has no real logic inside it (but this is what in this example runs first from …
The End.