651 Posted Topics

Member Avatar for Nahiyan

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 …

Member Avatar for leakbali
0
205
Member Avatar for ppetree

[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 …

Member Avatar for ppetree
0
3K
Member Avatar for RazorRamon

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 …

Member Avatar for P0lT10n
0
155
Member Avatar for Buppy

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 …

Member Avatar for jkon
0
80
Member Avatar for puvi

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.

Member Avatar for jkon
0
67
Member Avatar for Madhuphp

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 …

Member Avatar for vaultdweller123
0
136
Member Avatar for facarroll

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.

Member Avatar for vaibhav1983
0
14K
Member Avatar for sam230

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 …

Member Avatar for jkon
0
147
Member Avatar for AngieS

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 …

Member Avatar for jkon
0
155
Member Avatar for jkon

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 …

Member Avatar for stacy_kodani
0
319
Member Avatar for geekme

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…

Member Avatar for ulyssey
0
167
Member Avatar for jkon

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 …

Member Avatar for jingda
1
237
Member Avatar for AngelicOne

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 ?

Member Avatar for AngelicOne
0
308
Member Avatar for jkon

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 …

Member Avatar for diafol
0
147
Member Avatar for mangel.murti

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 …

Member Avatar for jkon
0
393
Member Avatar for mrcniceguy

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 …

Member Avatar for broswilli
0
2K
Member Avatar for navi17

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).

Member Avatar for Kannan R
0
225
Member Avatar for Rajicet

XML containing images ... what do you mean .. how it contains them as binary ?

Member Avatar for Rajicet
0
130
Member Avatar for OldDeveloper01

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 …

Member Avatar for OldDeveloper01
0
141
Member Avatar for Stefano Mtangoo

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 ?

Member Avatar for hielo
0
148
Member Avatar for samarudge

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 …

Member Avatar for jkon
0
778
Member Avatar for doomfrawen

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 …

Member Avatar for jkon
0
120
Member Avatar for Wesleyy

Wesleyy I am trying to figure your question ... you provided a url and ? what is really the question .... help us to help you ...

Member Avatar for Narue
-2
157
Member Avatar for erza26

What exactly do you want you code to do and not doing it ? … use code marks for code …

Member Avatar for erza26
0
135
Member Avatar for kokfui

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.

Member Avatar for stanley87
0
207
Member Avatar for didi00

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...

Member Avatar for didi00
0
225
Member Avatar for carebear23

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.

Member Avatar for markdh
0
113
Member Avatar for phplover

Keep your question clear and as short as possible, nobody will even read those…. If there is a question behind it rephrase it.

Member Avatar for jkon
-1
5K
Member Avatar for bngy

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]

Member Avatar for jkon
0
127
Member Avatar for Cece Skies
Re: PHP

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.

Member Avatar for chrishea
0
103
Member Avatar for s7mo

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 ?

Member Avatar for vibhaJ
0
1K
Member Avatar for 08dce335
Member Avatar for R0bb0b
-1
72
Member Avatar for ahsan1
Member Avatar for xxreenaxx1

Where is the correctanswer function? What are your specs and how do you think to work?

Member Avatar for jkon
0
65
Member Avatar for duliduli556

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.

Member Avatar for jkon
0
301
Member Avatar for P00dle

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 …

Member Avatar for P00dle
0
198
Member Avatar for peterbata

This can be done easily with a onchange event pass the possible selects as display: none and let JavaScript decide witch one to show.

Member Avatar for peterbata
0
161
Member Avatar for ss90

That I want? .. What is the problem exactly in order to help you fix it?

Member Avatar for jkon
0
155
Member Avatar for xxreenaxx1
Member Avatar for xxreenaxx1
0
81
Member Avatar for vijaygupta

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) ?

Member Avatar for jkon
0
165
Member Avatar for hbhaskar

You created an instance of a Word application shouldn’t you also create an instance of Word Document Object too? What are the errors ?

Member Avatar for jkon
0
197
Member Avatar for jkon

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 …

Member Avatar for jkon
0
106
Member Avatar for AndreRet

VB6 to PHP ... temptation while it is easy ... do you know VB6 or PHP ?

Member Avatar for AndreRet
0
173
Member Avatar for newbie14

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.

Member Avatar for happytogether
0
190
Member Avatar for Aamit

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…

Member Avatar for Aamit
0
93
Member Avatar for Lalita_shah
Member Avatar for veledrom
Member Avatar for jacob21

-- 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 …

Member Avatar for jkon
0
147
Member Avatar for veledrom

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 …

Member Avatar for veledrom
0
168
Member Avatar for alexia_net

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 …

Member Avatar for alexia_net
0
116

The End.