Jump to content

smithaa02

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

smithaa02's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I found a PHP debugger you can install on the server called Xdebug http://xdebug.org/. Anybody have any experience with this?
  2. Maybe what would be nice would be to the option to have a special PHP debugger take over execution of PHP scripts for a set period of time and this would write all the PHP lines executed to a log file. I could then search for my IP, find my last executed program, and then I could figure out where the bug occured. I found this but I'm not sure it is what I'm looking for: http://www.dcc.uchile.cl/~xnoguer/peardoc2/pecl.apd.html Has anybody ever heard of this?
  3. I frequently work with third party software that is quite complicated with code spread out over many pages, functions, and classes, and it would be nice when I'm trying to fix a bug or tweak some functionality if there were some PHP debugging trick available that would allow me to follow each line of code as it is executed while I surf that website. I know in linux, you can find the PID of your thread and fill that into strace, but the results are often too technical. Is there an equivalent trace/step trick for PHP?
  4. Having not been a regular poster, I was unaware that this was a regular question. What would I search for to find something like this? Is there a term for this (other then CMS)? Any suggestions would be appreciated.
  5. Any ideas? Basically something that would allow me to upload/copy/delete/edit webfiles. It would probably use a WYSIWYG javascript editor. Not really looking for a CMS because they don't work with existing html files. Any suggestions would be appreciated.
  6. Any ideas? Basically something that would allow me to upload/copy/delete/edit webfiles. It would probably use a WYSIWYG javascript editor. Not really looking for a CMS because they don't work with existing html files. Any suggestions would be appreciated.
  7. Basically, I have a mysql dump with table creates and data inserts all in a giant text file.  What I want to do is to put all those tables into a specified database using PHP.  My questions is what is the best way to this?  mysql_query() can only do one command at a time.
  8. [!--quoteo(post=362016:date=Apr 5 2006, 01:52 PM:name=redbullmarky)--][div class=\'quotetop\']QUOTE(redbullmarky @ Apr 5 2006, 01:52 PM) [snapback]362016[/snapback][/div][div class=\'quotemain\'][!--quotec--] have you tried 'preg_match_all' ? [/quote]Thanks...that should do the trick.
  9. I need to find all id's inserted into a collection of html files and am wondering how to do it. For example, my files may contain: <a href='/display.php?id=[b]44[/b]'>link 1</a> ...html stuff... <a href='/display.php?id=[b]1101[/b]'>link 1</a> ...html stuff... <a href='/display.php?id=[b]999[/b]'>link 1</a>etc... What I would hope to get as a result would be 44,1101,999. I use the key [i]display\.php\?id=([^"]+)"[/i] with ereg(), but I only get the first result. How would I get all the id's for each html file?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.