hi, can any body help me on separating this example of data that i need to parse and seperate text just like PHPDoc. It is PHP source code.
The example string :
function one_to_tree() {
//bla bla bla
return FALSE;
}
function two_to_tree() {
//bla bla bla
return FALSE;
}
function three_to_tree() {
...
Hello,
Some times my WAMP server crashes . I get the following error.
HTTP has encountered exception and needs to close.
Unreferenced Memory.
szAppName : httpd.exe szAppVer : 2.2.11.0 szModName : php5ts.dll
szModVer : 5.3.0.0 offset : 0000c309
C:\DOCUME~1\blrcom\LOCALS~1\Temp\WERc677.dir00\httpd.exe.mdmp
C:\DOCU...
Hi,
I found this great Tablesorter plugin for jQuery but I can't make it work with my PHP generated table. Here's the code:
<script type="text/javascript">
function table() {
$("#container").load("table.php?randval="+Math.random());
}
$(document).ready(function() {
table();
$("table").tableso...
Below is my example script:
<li><a <?php if ($_GET['page']=='photos' && $_GET['view']!=="projects"||!=="forsale") { echo ("href=\"#\" class=\"active\""); } else { echo ("href=\"/?page=photos\""); } ?>>Photos</a></li>
<li><a <?php if ($_GET['view']=='projects') { echo ("href=\"#\" class=\"active\""); } else { echo ("href=\"/?page=photos...
Hey gang,
Bear with me as I try to learn more about .htaccess redirect rules - I'm a UI guy by profession and I'm doing my best to enhance my coding skills languages other than HTML/CSS/PHP, etc
So, what I have is an index.php file that contains a menu - pretty simple. If Javascript is enabled on the users computer then forms are shown...
how to easily update php web application to multiple server ? i read about capistrano, can it be use for PHP ?
Please Help
Regards,
REV
...
here is my xml DOM.
<entities>
<entity id="7006276">
<title>xxx</title>
<entities>
<entity id="7877579">
<title>xxx</title>
<entities>
i want to get the 'entity' with id 7006276 so i could access its child 'entities' t...
My html form is spreading over several pages (steps), and I want to let the use to take step back in case they would like to change something they filled in. So, I don't want to make users re-type all the information they already have typed once. Thus, how would I make it so that all the information would go back, to speak so? (I use PHP...
if i have a script which insert a data then exit
the script will be opened by 100 user at same time or within 2 mins
actually im doing email tracking
so pconnect is bettwe or connect is better to reduce the resource
i have close when after insert
...
i have printed out the contents of an array/object (named 'document') with print_r. it looks like this:
Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => 7006276 ) [name] => Arnessysla [type] => region [latitude] => 64.5833 [longitude] => -21.8833 [entities] => SimpleXMLElement Object ( ) ) )
how do i get the ...
Hi all, simple question here. Lets say I have two points:
point 1
x = 0
y = 0
point 2
x = 10
y = 10
How would i find out all the coordinates inbetween that programmatically, assuming there is a strait line between two points... so the above example would return:
0,0
1,1
2,2
3,3
...
8,8
9,9
10,10
Thanks :)
...
Is is possible to insert value in an input element of a html form if the element is of type "file"? How to do so, if it is possible?
...
Iam a little bit confused by php function declare.
What exactly is an single tick, i thought 1 tick = one line of code?
But if i use:
function myfunc() {
print "Tick";
}
register_tick_function("myfunc");
declare(ticks=1) {
echo 'foo!bar';
}
The script prints :
"Tick" 2 Times??
...
i have created a file with extention .php.so how should i run this file with netbeans.i have download the netbeans 6.8 with all bundle feature.i hav seen the php file can run with netbeans so i m asking.plz explain
...
OpenID providers like GOogle,Yahoo etc also stroes user info like Name,email etc. Is it possible to retrieve it by using OpenID Selector(http://code.google.com/p/openid-selector/)? If yes then how do I fetch it? is the OpenID URL same every time when a user logs in? if yes ten may I store that handler in DB?
I am using PHP.
...
hello
I want to make a script that takes a URL to a file and will import that file to a specific folder in my web server
how to request a file if it's in a passworded area, i have an account "username/password" but how can i make the request to that file ?
...
I would like to access a MySQL database using PHP.
Can someone please explain the basic steps involved in doing that?
...
Hi, seems like I'm stuck with jQuery tabs. I'm trying to pass selected tab name to some php script but is seems like it doesn't get any data.
This is how tabs normally work without any response from server side:
http://pastebin.com/KBxj7p5k
And this is how I try to pass the the current tab name to the server:
$(document).ready(functi...
Is there an API for Aardvark (http://vark.com)? How can I programmatically ask questions and get answers?
...
Hi all,
I am currently working on a small sponsorship application(PHP/MySql) for my personal blog, and am almost finish, but I am stuck on how to calculate the click-thru rate of my sponsors campaigns.
I was always terrible with working out percentages, so any practical help would be appreciated. The data is stored in the DB as simple ...