User Profile

Collapse

Profile Sidebar

Collapse
Jacotheron
Jacotheron
Joined: Jan 12 '08
Location: Gauteng, South Africa
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Jacotheron
    replied to Program that can copy files to clients
    in Java
    Thank you I will check this out
    See more | Go to post

    Leave a comment:


  • Jacotheron
    started a topic Program that can copy files to clients
    in Java

    Program that can copy files to clients

    Hi
    I am still a beginner with Java.
    I want to know how to program a program that can copy files to clients (on a LAN) simultaneously. The reason I want this program is to send files to other computers without opening a new stream for each computer (i.e. that the clients get the same information at the same time from the same stream).
    Will it be possible to do this (and how?) or is there an other option (already written program,...
    See more | Go to post

  • It is not advisable to run a site from your own PC. Then when you use php, a good practice is to always use the "<?php" tags in stead of the "<?" tags, which are shorter. This way you should not have the problem of php code displayed. Do you use an alias or do you have all your files in the www folder? If you do not use the www folder, and have not set up an alias you would not be able to execute the code through php. If...
    See more | Go to post

    Leave a comment:


  • Jacotheron
    started a topic PHP not executing with database data

    PHP not executing with database data

    Hi
    I have a database which should return data of the threads. The idea is to create a small community (only selected users may participate) where they can post their statements etc for others to see and reply to. The page giving me the problem is the one where a thread is selected and the data for that thread is called.

    Here is the code i have (i have omitted the start of the page as it is not needed):
    [code=php]
    ...
    See more | Go to post

  • Jacotheron
    started a topic php folder files retrieve
    in PHP

    php folder files retrieve

    Hi all
    I need a php script that can access a folder on the server to list all the files in the folder. While trying to get a solution, I found this script that can list folders in the wamp index.php-file:
    [code=php]<?php
    $projectsListIg nore = array ('.','..');
    $handle=opendir (".");
    $projectContent s = '';
    while ($file = readdir($handle ))
    {
    if (is_dir($file) && !in_array($file ,$projectsListI gnore))...
    See more | Go to post
    Last edited by pbmods; Dec 30 '08, 12:17 AM. Reason: Fixed CODE tags.

  • Jacotheron
    replied to IIS not working like Apache
    in PHP
    I have finaly came across the answer: the setting of the fopen command is disabled on the server. How can I change that setting without changing the php.ini file? Could it work with a .htaccess command and what command?
    See more | Go to post

    Leave a comment:


  • This form works now!

    Thank You all for helping e solve this problem

    Kind regards
    Jacotheron...
    See more | Go to post

    Leave a comment:


  • No code error is displayed and the submission is not prevented when entering the illegal characters.

    Thank You for the help...
    See more | Go to post

    Leave a comment:


  • I tried this script, but for some reason it does not prevent the use of illegal characters and it still gets through.

    Thank you for the help...
    See more | Go to post

    Leave a comment:


  • The illegal words/characters are to be specified in JS and be validated prior to form submit. How do I tell JS to check for it in the text area? That is where my problem is. The characters are: "<>?[]" The idea is to prevent them from sending me links to other sites i don't have time to visit. (these messages are about 120 k each to download and every day there are a lot of them)

    Thank you for the help...
    See more | Go to post

    Leave a comment:


  • Jacotheron
    started a topic Disable form submit with illegal words

    Disable form submit with illegal words

    I need a script that can disable the submit button on a form or prevent the form from being submitted when there is an illegal word or character in the text box. This should prevent a spam bot from sending links to me via my website's contact me function. Here is the form that I need to protect:
    [HTML]
    <form id="FormName" action="thehand ler.cgi" method="post" name="FormName" >
    ...
    See more | Go to post

  • Jacotheron
    replied to IIS not working like Apache
    in PHP
    I have changed the permissions of the files needed and now it is all read, write and execute and still it does not work.
    How can I make that only if the enrollment was successful, it should redirect to the next page and else display a custom error message.
    Sometimes the php works and a line is entered into the .txt, but other times it do nothing else than the redirect....
    See more | Go to post

    Leave a comment:


  • Jacotheron
    started a topic IIS not working like Apache
    in PHP

    IIS not working like Apache

    I have a site that needs an enrollment form. I have made the form and it works without a fault on my Apache testing server, but I have to get it to work on an IIS server. the first page should take info and send it to the next page which should echo the inputted information for the viewer to make sure everything is correct. This page then sends the data to the handler which records the information into a .txt file and redirects the viewer to the...
    See more | Go to post

  • Jacotheron
    replied to PHP File Uploader
    in PHP
    When I enter this information, and run it with WAMP, I get the following error message: "Warning: mkdir() [function.mkdir]: No such file or directory in the directory". I have changed the $dir to my variable and it just do not want to create the directory. It seems that it is looking for a function that describes exactly what it should do.

    Thank you for the help...
    See more | Go to post

    Leave a comment:


  • Jacotheron
    replied to PHP File Uploader
    in PHP
    Now I could test if the directory exist, but how do I command PHP to create the directory if it does not exist? That is my biggest problem.

    Thank you for the help...
    See more | Go to post

    Leave a comment:


  • Jacotheron
    replied to PHP File Uploader
    in PHP
    How do I specify that the PHP should create the directory if the directory does not exist. I want all music to also be sorted ARTIST/ALBUM/ARTIST - TITLE.mp3. Every Thing works well when I create the path myself but the script should do it.

    Thank you for the help
    See more | Go to post

    Leave a comment:


  • Jacotheron
    started a topic PHP File Uploader
    in PHP

    PHP File Uploader

    I need a PHP script that can upload music files (mp3). The script is for a home project I have started a while ago. I have a MySQL database of all the music that I have. Other computers on the network should be able to connect to the database and run queries on the database or upload new music that does not yet exist on the database. The uploaded file's name should be in the following format: ARTIST - TITLE.mp3. I have the code to upload images,...
    See more | Go to post

  • Jacotheron
    started a topic login form for web statistics

    login form for web statistics

    Hi all

    I have a problem. I need to create a script that takes user input from a form (Username, Password, Domain) and with these input go to the page that contains their website statistics. I can't get the form to pass the input to the script to process the link and go there. Here is the code:
    Code:
    //javascript headercode:
    <script type="text/javascript"><!--
    function login (form)
    {
    ...
    See more | Go to post

  • Jacotheron
    replied to Bilingual site with parked domain
    Thank you, I will try this and I guess it should work.
    I just do not quite know how to get/set cookies but will try to create the correct cookies with the programs I use....
    See more | Go to post

    Leave a comment:


  • Jacotheron
    replied to Bilingual site with parked domain
    The English domain is parked on the Afrikaans domain. Paked domain: "Parked Domain
    A Parked domain refers to a domain name that points to the same website as the domain name on which it is 'parked'. For example, you can park 'domainname.co. za' on the domain name 'domainname.com '. If someone types the parked domain name 'domainname.co. za' into a web browser, it will point to the same website that 'domainname.com ' points to.
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...