651 Posted Topics
Re: If I understood correct what you are doing try something like ... [CODE] ob_start(); echo $obContents; $contents = ob_get_contents(); ob_end_clean(); echo $contents; [/CODE] Where $obContents your table field that has php inside it … (maybe you will need to write first the content to a file and use include maybe … | |
Re: [QUOTE=ppetree;1614253]Apparently, PHP does not support WS security in its soap class so, its not that I'm doing something wrong... its php![/QUOTE] How did you ended with that opinion (that PHP is the problem?). Take a good look at examples in [url]http://www.php.net/manual/en/soapclient.soapclient.php[/url] . Are you sure about the “logonUser” key that … | |
Re: Forget JQuery , has nothing to do with your examples. $DB in your example is an instance of a class (a data base handler class I guess). Object oriented programming has lot advantages, PHP has a very good class PDO , that will make your life easier and more secure … ![]() | |
Re: If users session is stored in a table (something that has disadvantages and few advantages) then why don’t you pass just the primary key of that table (e.g. in a post variable)? (Of course along with something that will secure your app – like a hashing key of that pass … | |
Re: If you want to create a folder under some folder then … the parent folder must exist (this isn’t just PHP). You can use is_dir function to determine that you already have created the parent folder (if not create if) and then add subfolders to it. | |
Re: A framework is what the word says a frame where you work. This frame has conventions that you should follow but a lot of conveniences as well. Generally speaking for any project that is not tiny it is best to be build up in any published framework (with tutorials, and … | |
Re: Why don’t you change also the e-mail in session when user change it and you update db ?. If you don’t keep e-mail in session you could start keeping it or you could just re select users data from db in each page. | |
Re: What is faster has to do with a lot of things. First of all the amount of data, and how you separate them in a file system or how you create your tables in a database. XML is not for storing data , if each city has lets say 5 … | |
Re: Hello , first of all for you own security don’t use MySQL like that. PHP has PDO that provide a lot of usability’s and security. One the other hand if you insist using mysql_query than just use mysql_real_escape_string in the field [URL="http://php.net/manual/en/function.mysql-real-escape-string.php"]http://php.net/manual/en/function.mysql-real-escape-string.php[/URL] . I am starting with that because as … | |
Hello all, I would like to inform you of our new tool in 9dir.com Domain Whois and Popularity Checker. Just go in any page of 9dir.com and put the domain to be checked in the top banner in the field 9dir Domain Whois and Popularity Checker a domain name without … | |
Re: Just use Eclipse (I would recommend Helios for PHP Developers) and you will see that it has what ever you need for developing even for you own personal JavaScript code style… | |
Hello, I am relaunching (after a long redevelopment period) a site related to web development resources, that, in its prior state, had some traffic. I am thinking for first months to set my central banners (468 x 60) to sites I like and then open it for ads. I would … | |
Re: What is the code that should produce error but doesn’t? (any suppression error marks ? ) Also is any error_reporting in your programme or ini_set ? | |
There must be a better way… Hello all, I am now designing a new data structure and I faced this problem that I am going to describe making me think that maybe I should redesign it. Maybe the solution is in front of my eyes, and please if you have … ![]() | |
Re: You can do it in many ways. Programmatically (you didn’t mentioned what the trigger will be, an action or it is something that will occur in specific time?) In later case you can use a series of cron jobs. MySQL has also the sleep function that you can use it … | |
Re: Code - Editors: I understand that there can be a lot of views in that depending the background of a programmer but I strongly feel that Eclipse PDT (especially Helios) is a breakthrough in PHP programming. Frameworks: Well in my point of view a framework is what the word says … | |
Re: Web Service is also a solution. But if you have a remote MySql connection in one server, and you trust your servers, you could do it this way too. (Of course I agree with all the others solutions that mentioned). | |
Re: XML containing images ... what do you mean .. how it contains them as binary ? | |
![]() | Re: In your code you use one table ‘dateadded’ and you want to display a birthday card depending on someone birth date. Is that right till now? Sow there must be a relevance to your table , give your SHOW CREATE TABLE dateadded and describe the fields of the table (if … ![]() |
Re: Custom? What really means custom … that you programmed a bit … Where is the class definition are you trying to programming OOP without even read the basics ( one page …. 5 minutes your try more than 5 and this post 10) waste of time … isn’t it ? | |
Re: Does CSRF refer to Cross-site request forgery? Or your way of scaling your app? I am answering in the letter scenario. If this is your code and you receive more than 400k hits a day rewrite it. There are few PHP frameworks that are frameworks and not applications that generate … | |
Re: One key point of programming is learning to describe the problem before even trying to solve it. Are these pdf still accessible in your server (no matter how created)? Do you have access to this server internal or external?. In bottom line if you still can see the pdf documents … | |
Re: Wesleyy I am trying to figure your question ... you provided a url and ? what is really the question .... help us to help you ... | |
Re: What exactly do you want you code to do and not doing it ? … use code marks for code … | |
Re: certainly session don’t pass wrong id (it has nothing against you and will pass what ever you give). I would recommend reading any PHP tutorial don’t try to go to a stage when you don’t know the basics of a previous one. | |
Re: did you used utf-8 encoding saving all the pages that you include? There is no need to use any function.... Just give more information about the problem... | |
Re: The problem is in PHP or in MySQL ? … You provided a code with many include files that you didn’t provide so no one can say what you are doing. Explain it in few words and how you are trying to achieve it. | |
Re: Keep your question clear and as short as possible, nobody will even read those…. If there is a question behind it rephrase it. | |
Re: Why are you even trying to do a PHP IRC bot? Are there any other programming languages more suitable for this? Take a look at [url]http://www.phpbots.org/[/url] | |
Re: If you know any other C descendant programming language than PHP will be a cake if you don’t consider starting with JavaScript to learn just the basics. | |
Re: After looping $children_pref will hold the last value you assign it to the loop. Why don’t you echo (or add each input checkbox html in a variable) input check boxes inside the loop ? | |
Re: Multiple facilities... explain a bit more what you mean... | |
Re: What is the createThumbs function ? | |
Re: Where is the correctanswer function? What are your specs and how do you think to work? | |
Re: As ardav have pointed web pages are stateless. But yes you can have application scope static variables using database or file system and you can have also thread – visit static variables using session. Using these two deferent scope ways let you jump from stateless to state full. | |
Re: I don’t really know ZEND framework. I have used it for a hallo word project and I understood that doesn’t fit to my programming culture. Just be sure of your MVC understanding and your OOP view of things and everything will go great. I have worked for more than two … | |
Re: This can be done easily with a onchange event pass the possible selects as display: none and let JavaScript decide witch one to show. | |
Re: That I want? .. What is the problem exactly in order to help you fix it? | |
| |
Re: Where is the problem, where have you stuck? In what way are you trying to archive it (AJAX , post in other page , post in same page) ? | |
Re: You created an instance of a Word application shouldn’t you also create an instance of Word Document Object too? What are the errors ? | |
It was not time ago that I realized that those that I consider standards for MVC implementation with PHP are not standards for all. I would be very happy to read different approaches of how to implement MVC architecture with PHP, not just frameworks but the all idea that you … | |
Re: VB6 to PHP ... temptation while it is easy ... do you know VB6 or PHP ? | |
Re: only who wrote that class you are using has the how to. If you don't want to read this class (and what is doing) write your own to avoid mixed logic. | |
Re: Do you own the domain that you mention in your script? If you do there are many ways, if you don’t just stop this logic… | |
| |
| |
Re: -- I am using this code for searching.pagination is not working fine. Could you please What are scripts for you ? Easy solutions that will clean your code? Scripts are fragments of programming language logic… so you have to understand just basics. What are you are trying to achieve and … | |
Re: Many years know I read in forums that “PHP isn’t for cashing” but my tests are pointing in other way. It depends on what you are cashing, in what server are you and what logic of cashing are you in to. Since we (PHP programmer’s community) embraced OOP I believe … | |
Re: Lets see it from an OO point of view. If is a tree what you are describing … You have objects with some properties. Let’s say that one of them is id and of course parent id (for top objects it should be 0) witch is unique. Creating a list … |
The End.