Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~5K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags

7 Posted Topics

Member Avatar for metaface

Hello, I am familiar with the get_defined_functions() function as a way of listing all of the user defined functions. Is there a way with PHP to also determine from which file the user function was defined? Consider the following example. Assume there are three files: - index.php - user_functions1.inc.php - …

Member Avatar for veedeoo
0
281
Member Avatar for metaface

Hello all, My question is about grep as a command line program... How can I tell grep to only search inside files that end in ".php"? The command that I am using now is: grep -r "some_string" some_directory Thanks! -Dave

Member Avatar for sethwb
0
1K
Member Avatar for angelic_devil

You may also need to deal with permission issues. The web server typically runs as a different user (such as "nobody") than the user you use to manually create files/directories via FTP or command line. If you create a directory with your PHP script, the owner will probably be the …

Member Avatar for vikramrawale
0
1K
Member Avatar for steveissuperman

Hello, You are missing the declaration of delimiters after the LOAD DATA INFILE in your SQL statement. You can use "FIELDS TERMINATED BY" and "LINES TERMINATED BY" to define these based on how your CSV file is delimited. For example: [CODE]LOAD DATA LOCAL INFILE '/your_file.csv' INTO TABLE your_table FIELDS TERMINATED …

Member Avatar for drjohn
0
2K
Member Avatar for ruwanaru

Try following these steps: [B]1. Read the XML file content into a PHP array.[/B] There are many ways of doing this. I'd recommend the use of a couple of simple functions for converting between XML data and PHP arrays. (Google "php array to xml") [B]2. Add the new image to …

Member Avatar for ruwanaru
0
121
Member Avatar for metaface

Hello all, I would like to write a shell script that can scan a directory containing audio files and extract metadata or audio encoding information from the files. The goal is for the shell script to be able to process music files based on embedded data as: Format, Data Rate, …

Member Avatar for ghostdog74
0
526
Member Avatar for Gonzo10

Are you trying to show which item in the loop was clicked? If so, try this: [CODE] <table width="61%" border="1" align="center" cellpadding="4"> <?php if (isset($_GET['value'])) { print "<tr><td><big>You clicked: $value</big></td></tr>"; } $data = 10; for ($i=1; $i<=$data; $i++) { print "<tr><td><a href=\"?value=$i\">Data: $i</a></td></tr>"; } ?> </table> [/CODE]

Member Avatar for Gonzo10
0
100

The End.