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 dencom 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
  • Content: Threads
  • 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?

    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 =...
  3. 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"]...
  4. 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)...
  5. 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 =...
  6. 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...
  7. 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...
  8. 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
  9. 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...
  10. 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...
  11. 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>...
  12. MJAZ

    Reading GET variables

    Hello! I am making a sound player for my website, and I need the the player to read a GET variable to find the sound to play. I can't find ANY good resources for this. Could I please have some help? Cheers, MJAZ Matt www.cyber-share.com
  13. MJAZ

    Something is wrong with my PHP MySql

    Hello! My PHP script is not connecting to the MySql database. Every time I run it, it says COuld not Connect: and then nothing. I am using mysql_error() and error checking. Here is the code (database usernames and passwords removed): function user_check($user) { $con =...
  14. MJAZ

    PHP Sessions and checkdate()

    Hello! I have two questions for you all today: Are the built-in sessions for PHP secure and if so how can I make then secure. Also, I am having problems with PHP's checkdate() function. I am passing some dates from a drop-down list that has the numbers 1-12, 1-31, and 1900-1994. It always...
  15. MJAZ

    Creating a video player

    Hello! I am wondering how I can create a video player using flash that plays the video file either in a GET URL or a <param> tag. The only ones I have found require the file to be a flv video. Any ideas? Matt www.cyber-share.com
  16. MJAZ

    PHP array_push() and array() issues

    Hello! Every time I run the script below in my browser I get this: Warning: array_push() [function.array-push]: First argument should be an array in C:\Documents and Settings\Administrator\My Documents\Cyber Safe Deposit\website\signup\join.php on line 16 Warning: array_push()...
  17. MJAZ

    Running UNIX commands from Perl

    How can I run UNIX commands from Perl and store the results? I have tried Google but it was unhelpful.
  18. MJAZ

    Linux OS -&gt; Perl directory size

    Is there a script that I could use that would tell a Perl script what the size of a file/folder is?
  19. MJAZ

    Limiting File or Directory size on server

    Is there a way so that a Perl script can check the size of a file or folder? I am wondering because file and folder size is an integral part of my website.
  20. MJAZ

    CGI Script causing internal server error

    Hello! I have finally finished the first version of my CGI script, and when I run it in the browser, it tells gives me a 500 error. Here is a snippet from my error log: [Wed Oct 25 15:27:32 2006] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified. : couldn't create...

Part and Inventory Search

Back
Top