Hello
according to wikipedia:PageRank
A probability is expressed as a
numeric value between 0 and 1. A 0.5
probability is commonly expressed as a
"50% chance" of something happening.
Hence, a PageRank of 0.5 means there
is a 50% chance that a person clicking
on a random link will be directed to
the document with the 0...
I have a session class that basicly just sets and retrieves session variables,
the reason I made it was so I could easily change it to use sessions or something
like memcache to set the items and have them accessible on multiple pages without hitting the database
I then have this user class which uses the session object to get session v...
I just got back from a talk. I overheard the term "inline sessions" which should be an alternative to cookie sessions. Do you guys know what that is and if it can be implemented in PHP?
...
I was working as a freelance php developer for a while, and handled all programming aspects alone. Although I worked with a graphic desinger, all coding was done by me.
These days I get a job with a team to program some project.
So, I'm afraid of this new development. How to manage a team and divide the work, track the change.
I'll lo...
This may not be possible, but I'd like to ask anyway and see if there's a creative solution out there.
I'd like to have a "file" form field on my site that uploads a file into a BLOB field in a MYSQL database. I must use PHP to accomplish this task.
Normally, I know you would open the temp file found in the $_FILES array, using fope...
one day I chat with a experienced programmer about devloping file hosting system, he tell me it's need to use cgi in your program to work in best way.
so what is cgi ?
whay to use?
and when?
...
Alright here's the situation, I have an application written in the Zend_Framework, that is compatible with both MySQL and MSSQL as the backend. Now, ZF is pretty good at solving a lot of the SQL discrepancies/differences between the two languages, but I still have yet to figure this one out.
The objective is to select 1 random record f...
Is there any way I can persist objects in PHP?
I am creating some objects in a script, but I have to create them everytime the script is run (losing their state unless I save it to DB).
I know variables can be persisted with $_SESSION global, but should I save objects in it?
If object persistance is not possible, what's the use of OOP ...
I'm using Eclipse 3.4.2 and installed the latest plug-in for simpletest using Help>Software Updates...
The plugin installed correctly and I was able to set it up in Window>Preferences>SimpleTest.
I have filled in the following fields : Php.exe file, php.ini file, and test file Suffix. I was not able to find the simpletest Path (not even...
Hi i have used the code from
http://www.switchonthecode.com/tutorials/sending-flex-data-to-php-using-xml#comment-3635
to send xml data to php...
I don't know y i am having problem acessing data in php.
Can anyone tell me how to see if the data has arrived at the php.
Thanks
...
I have a form which sends lots of GET['var'] in a form.
Ive worked out how to set it to send var[1]=data&var[2]=some&var[3]=thing etc etc
but how do I catch each variable and combine it into one string, seperated with a ", "?
so $var = data, some, thing
UPDATE:
Sorry I should of mentioned I already have the function that implodes t...
From the demo below you can probably see what I am trying to do, the construct method works but the test method does not work, gives error
Fatal error: Call to a member function get() on a non-object
Can someone show me how to make something like this work?
<?PHP
//user.class.php file
class User
{
public $pic_url;
function __...
Hi guys,
I am attempting to use google checkout to process a shopping cart created with Zmags.
With Zmags you can integrate a basket with your e commerce shopping cart, however I want to send it straight to google checkout.
Problem is the XML output from zmags is not the same format as the one required by google checkout...
The XML ...
The background:
Ok, I run a legacy BBG over at ninjawars.net. There is an "attack" that players can make on other players that is initialized via form post. Essentially, we can simplify the situation to pretend that there's a page, lets call it attack.php, with a giant "ATTACK" form post that submits to another php page, lets call it a...
I am working on a site that people can submit the video's link. Then I just embed it. However, I want to get the thumbnail of the videos without saving the videos in my server. So that when I list the vidoes, I can use the thumbnails instead of embedding all videos.
My serve uses PHP. Assume the video is in SWF format.
is there any...
Hello,
I have a PHP script that sends a request to a web service via soap. I expect to get a response back in just a few seconds, but if I do not receive a response within 30 seconds I need to send another request voiding my first request.
Any suggestions on the best way to handle this timer feature? Should I be looking at PHP's set_t...
Now that I'm starting to get back into PHP, I'm starting to remember why I gave it up in the first place. The most annoying thing on my plate at the moment is what I've come to term "PHP's white screen of death". When PHP gets a fatal error due to syntax or whatever, it seems like it will always die without actually sending anything to t...
Hey guys - im using var passing links like this to jump around a site...
<a href = "index.php?content=about.html">
...problem is, i have all the ugly var info visible in the url. I would usually hide it by using the post method, but i dont have any form tags, so is it even possible?
Thanks!!!!!!!
...
Hi all, I found a little script that will export information to an xls file, but I can't seem to get it working. The original code is found here: http://www.appservnetwork.com/modules.php?name=News&file=article&sid=8
And here's my code:
// Query Database
$query = 'SELECT * FROM #__db_clients WHERE published = '1' AND companyid ...
Hi,
I have php script to send 1,00,000 mails everyday..
it just runs all emails in loop and invoke mail() function..
I can't use mailinglist manager because. each mail has different content, unique clickurls.
is it the proper way to send mailers?
thank you
...