Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: MJAZ
  • Order by date
  1. MJAZ

    Retrieving data from crashed disk

    I recently had a hard disk crash. I removed the hard disk form the computer that crashed and put it into another computer as a slave drive. WE have full access to the crashed disk, however we cannot get into the user folder where all of the important files are. How can we retrieve these files...
  2. MJAZ

    PHP script stops running - possible bug?

    'removal' is a database user. Matt www.cyber-share.com
  3. MJAZ

    PHP script stops running - possible bug?

    I have a PHP script with much repeated code that works fine - but not until I reach this function: function deleteCommentAction() { $db = new Database; $con = $db->db_connect('removal'); //right here mysql_select_db("theatheistconservative", $con); $query =...
  4. MJAZ

    PHP include system failing

    Hello! I am having a problem with my include system. The include system is a script that sets up the PHP include_path so that I do not have to juggle it around on a large website directory tree. Here is the code: <?php $_PATHS["base"] = dirname(dirname(__FILE__))."\\"; $_PATHS["config"]...
  5. MJAZ

    Sending email

    From the code you entered, it appears that there is a line before the <?php. Try removing that and all other spaces like it and tell me what you get. Matt www.cyber-share.com
  6. MJAZ

    PHP not setting cookies

    I know that, but even after I refresh that page the cookie does not show up. I opened my browser's cookie dalog box and no cookie was found. Also, no session cookies are being set. Matt www.cyber-share.com
  7. MJAZ

    PHP not setting cookies

    Hello! I have noticed that many of my scripts intermittently break because PHP is not setting cookies. It is only for the PHP scripts that I use for the website I am working on where this happens. Here is a test script where I test for cookies: <?php setcookie("foo","bar",time() + 86400)...
  8. MJAZ

    PHP CAPTCHA and Sessions Problem

    The script is failing again. Matt www.cyber-share.com
  9. MJAZ

    PHP CAPTCHA and Sessions Problem

    The problem has been solved! I placed session_write_close after the setting the session variables and it worked perfectly. Thank you jpadie for your help! Matt www.cyber-share.com
  10. MJAZ

    PHP CAPTCHA and Sessions Problem

    Yes, the session was started. I had my script echo out the variables just like you asked and got this: Answer: ,f3abec1f926773b14f155b0cfe5e789b Interesting. On the left (the empty space before the comma) is where the session md5 should be. The value on the right was the md5 of what I entered...
  11. MJAZ

    PHP CAPTCHA and Sessions Problem

    I am currently putting the finishing touches on my website before going fully live later. I am having an amazingly irritating issue with my CAPTCHA on the sign up form. Here is the code for the CAPTCHA: <?php require('includes/sessions/sessionfunc.php'); session_start(); $alphanum =...
  12. MJAZ

    Making PHP read server URLS

    Hello. I am currently working on a website that includes certain things on every page, e.g. the copyright notice and the navigational menu. On my Apache server I have aliased /includes/ as the includes directory. What I would like to do is have PHP include things that are in the /includes/ Alias...
  13. MJAZ

    Creating a picutre from a frame

    Hello! What I am currently trying to do is create a dynamic flash video player (e.g. that of YouTube) where a value is plugged into a <param> tag or a GET url and the video is played. Anyway, what I would like to know is whether it is possible for an ActionScript or Flash could take a frame from...
  14. MJAZ

    Storing session data in a MySQL database

    Hello! I am using the built-in PHP session functions and want to store that data in a MySQL db. Any ideas on how to do it? Thanks in advance. Matt www.cyber-share.com
  15. MJAZ

    Working with hashes

    Ah! Never mind, I fixed it. Matt www.cyber-share.com
  16. MJAZ

    Working with hashes

    Thanks guys! However, my debugger now says that using a hash reference is deprecated. Matt www.cyber-share.com
  17. MJAZ

    Working with hashes

    Hello! I am trying to use a CGI script that uses a URL to run a function and display pages. Like this: our %funcToAction = ('email_verify' => everify(), 'account_deactivate' => deactivateAccount(), 'edit_settings' => accountEditSettings() ); What I...
  18. MJAZ

    Changing attributes in an XML file in PHP

    Hello! I know how to parse XML with PHP now, except that I do not know how to read the attributes. Here is an example of the code I am using: <?xml version="1.0" encoding="iso-8859-1"?> <mail read="0"> <from>Foo_user</from> <subject>Hello!</subject> <message>Good morning! How are...
  19. MJAZ

    PHP XML

    Hello! I am wondering about doing certain things with the PHP XML functions. First, I would like to learn how to get the value of an attribute and do something if the attribute equals something. Like this: <?xml stuff> <mail status="unread/read"> <subject>Hello!</subject>...
  20. MJAZ

    Reading GET variables

    Thank you! Matt www.cyber-share.com

Part and Inventory Search

Back
Top