joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if there is a way for a string ($string) to be remembered on a form submission?

Example:

<?php
    $f = "";
    $tS = "";

    if (isset($_POST['tSubmit1'])) {
        if (!empty($_POST['tString1'])) {
            $tS = $_POST['tString1'];
            $f = "f2";
        }
    }

    if (isset($_POST['tSubmit2'])) {
        if (!empty($_POST['tString2'])) {
            if ($_POST['tString2'] === "pass") {
                $f = "f3";
            }
        }
    }
?>
<?php if ($f === "") { ?>
<form action="index.php" method="POST">
    <input type="text" name="tString1"/>
    <input type="submit" name="tSubmit1"/>
</form>
<?php } else if ($f === "f2") { ?>
<form action="index.php" method="POST">
    <input type="text" name="tString2"/>
    <input type="submit" name="tSubmit2"/>
</form>
<?php } else if ($f === "f3") {
    echo Submit($_POST['fString1']);
} ?>

I need to know if there is a way for $f and $tS to be remembered after every submisssion with out having to use a session or cookies.

Please Help...

joshl_1995 22 Twisted Digital

I don't have any trouble with getting the id, what i want to do is pass the id (from the javascript side) and pass it to the php function.

joshl_1995 22 Twisted Digital

Please

joshl_1995 22 Twisted Digital

I don't know much AJAX, JSON or jQuery so could you give me an example of how i can use this in my example.

joshl_1995 22 Twisted Digital

Hello Community,
I need help with getting javascript function arguments in php eg.

function jsFunction(arg) {
    <?php phpFunction(arg); ?>
}

<button onclick="jsFunction(this.id);" id="XXXX"/>

But when i press the button it doesn't send "XXXX" to the php function (<?php phpFunction(args); ?>) it sends "args" (as plain text).

Please Help...

joshl_1995 22 Twisted Digital

What headers do i need because i'm only using the from header:
<?php mail("official.randoma@hotmail.com", "Test", "This is a test.", "From: no-reply@randoma.co"); ?>

I have also added the domain and the email address to the safe senders list.

joshl_1995 22 Twisted Digital

I need to send emails to users, and i don't think manualy sending verification emails would be a fun thing to do every time a user registers.

So the only other way i was thinking of sending emails is making an api to my previous website which lets me use what ever email smtp i want.

But i would rather not, i'm having that as a last resort.

joshl_1995 22 Twisted Digital

Hello Community,
I'm having trouble receiving emails from my website.
This is the email address i'm sending from "no-reply@randoma.co" and my website is hosted by GoDaddy.
The email address i'm trying to send it to is a hotmail email address but i have upgraded my hotmail to an outlook account.

I have tried sending the email to my Gmail account and i receive it fine but i have tried sending it to my hotmail email address and nothing is coming through i have checked the email filters it is not being blocked, i have even added the email domain ("@randoma.co") to the safe senders list and still no email address is coming through.

I also cannot use any other smtp i am restricted to only using the GoDaddy smtp relay server.

Please help...

joshl_1995 22 Twisted Digital

Ok

joshl_1995 22 Twisted Digital

I'll have a go at trying a few of your (everyone) possible solutions.

joshl_1995 22 Twisted Digital

Thanks everyone for the response and good ideas but i was thinking or making it members only but i though people would complain because they won't to comment but not sign up.

joshl_1995 22 Twisted Digital

Hello Community,
I was making a commenting system for my website and i was wondering if it would be a good or bad idea if i just let anyone comment by anyone i mean non members or should i make it so only members can comment?

joshl_1995 22 Twisted Digital

Could wiping my hard drive and reinstalling windows help?

joshl_1995 22 Twisted Digital

I don't see how that could be it because it literly just started going slow 2 months ago it was fine one day the total bull sh*t the next and i haven't even changed anything on my computer.

joshl_1995 22 Twisted Digital

Is there another way other than download that. I don't trust anything like that (4allmemory).
What kind of registry scanner can i use?
My hard drive size is 111gb and i've used 66gb.

joshl_1995 22 Twisted Digital

Processor - Intel Core2 Duo CPU T8100 @ 2.10GHz 2.10GHz
RAM - 2.00 GB

Also it's not a virus, spyware, etc... because i have ran 5 different virus scanners, 2 spyware scanners and 1 malware scanner, i have even used ccleaner to clean the computer registery.
I have basically ran everything i could. So i don't know what it could be, just before it took 30 minutes for my laptop to respond.

joshl_1995 22 Twisted Digital

I don't fully understand .htaccess so could you show me how i can use this.
This is what i have so far:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(js|css)($|/projects) - [L]
RewriteRule ^projects/software.php software.php [L]

I'm sure i've done it wrong because there is still no stlying.

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if there is a reason why my laptop is going slow i haven't installed anything, uninstalled anything. It's just started going slow!

Right now i'm backing up my laptop just incase i get that pissed i might actually through it!

Here are the specs:
Brand - HP
Model - Compaq 6710b
Operating System - Windows 7 64-bit

If there is anything else you need to know about my laptop just reply below.

Please help i can't deal with speed.

joshl_1995 22 Twisted Digital

Yer i know that would work but then i misewell just put the page in another subfolder.
I just want a way to make it look like the page is in another subfolder not virtually put it in a subfolder.

joshl_1995 22 Twisted Digital

Yer, i know.
Where are you getting that from?

joshl_1995 22 Twisted Digital

The styling for the page has gone.

joshl_1995 22 Twisted Digital

What are you talking about?

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if there is a way to make a page look like a subdirectory.
This is what it would look like now http://example.com/page.php this is what i want it to look like http://example.com/sub/page.php

But i don't want to put the page.php in a subdirectory i just want it to look like it is.

Please help...

joshl_1995 22 Twisted Digital

lol i just tried that and it worked i came back here to mark it as solved, but thanks anyway.

joshl_1995 22 Twisted Digital

Hello Community,
I was just wondering why my password matching section ( } else if (!$password === $cPassword) { ) in the else if isn't working.
Whats happening is it is saying the passwords do match but they don't. I have tried many ways to fix it there is one way to possible fix it i could have it as a single if but i don't want alot of if statements.

The script i'm using is below.

if (isset($_POST['submit'])) {
    if (isset($_POST['iAgree'])) {
        if (isset($_POST['fullName']) && isset($_POST['username']) && isset($_POST['email']) && isset($_POST['sQuestion']) && isset($_POST['sAnswer']) && isset($_POST['password']) && isset($_POST['cPassword'])) {
            $fullName = $_POST['fullName'];
            $username = $_POST['username'];
            $email = $_POST['email'];
            $sQuestion = $_POST['sQuestion'];
            $sAnswer = $_POST['sAnswer'];
            $password = $_POST['password'];
            $cPassword = $_POST['cPassword'];

            if (strlen($username)<6) {
                echo "The username length <font color='red'>must</font> be more than 6 characters.";
            } else if (strlen($password)<6) {
                echo "The password length <font color='red'>must</font> be more than 6 characters.";
            } else if (preg_match("/[^a-zA-Z0-9\_\-]+/", $username)) {
                echo "You username cannot contain any special characters.";
            } else if (!$password === $cPassword) {
                echo "Your passwords don't match!";
            } else {
                echo "Done";
            }
        }
        else
            echo "Please fill in <b>all</b> the fields!";
    }
    else
        echo "You <font color='red'>must</font> agree to the terms!";
}

Please help...

joshl_1995 22 Twisted Digital

Hello Community,
I have been looking for a facebook news feed api, i couldn't find one. All i could find is bits of script for construct my own news feed api.

So thats what i did and i thought i might share the script with you it's a bit messy but it works.

Here is how t use it:
1. Goto https://www.facebook.com/developers and login.
2. Click "Create New App". 6ecbba8247b18cca50e467f8ce0063b1
3. Enter an app name i've used "NewsFeed" make sure it's valid then leave app namespace blank and web hosting un-ticked then click "Continue". 6cf853eeb15bfc42f6953659d6a43676
4. Then copy and paste the script:

Then to get your access token goto https://graph.facebook.com/oauth/access_token?grant_type=client_credentials&client_id=PUT_APP_ID_HERE&client_secret=PUT_APP_SECRET_HERE

I hope you found this tutorial easy to follow, but if you have any question just leave a comment below and i will get back to you.

joshl_1995 22 Twisted Digital

We do april fools jokes here in Australia.

joshl_1995 22 Twisted Digital

Bit late but thanks.

joshl_1995 22 Twisted Digital

That would work but...
I'll give you all a better description about what and why i need this:
I'm making a program that will download images (base64 images) from my dropbox but it is a really long list of images then when all the images are in the text file i'm going to base64 encrypt and whole file which would make the file bigger (hence why i want the base 64 images shortened so the file won't be so big).

So on the programs end (The users side) it will check if there is a newer version of the images text file and if there is it will download the file and open it up in the program then base64 decrypt it, and insert all the values into a hidden listview, so when the person click an item in the list it will look in the listview for the base64 image and will decode the base64 image and display it.

So there is no way i could store the images in a dictionary, i'm trying my best to think of new loading time efficent way so the user don't have to wait for the images.

joshl_1995 22 Twisted Digital

I thought as much, would it be possible to do it in php because i could use an api.

joshl_1995 22 Twisted Digital

Base64 Image: (Below)
iVBORw0KGgoAAAANSUhEUgAAAU8AAAFPCAYAAADNzUzyAAAABHNCSVQICAgIfAhkiAAAAAFzUk
dCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAAsRAAALEQF/ZF+RAAAAFnRFWHRDcm
VhdGlvbiBUaW1lADAyLzAxLzEzsezx1wAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIE
NTNXG14zYAAA0xcHJW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WK
i/8m0iVPXOL7r9Brz+k1d3Y63pQkxCX4jdBNFNZ9wlm3g7sJDECBXxrY1+EgFiVKvjId+3zGPn/NvinY9
zlnXwcAGsBD0yzKzxoTP89YZSrzxKLMdIztMcb21oydgrF3M72kAwQ0wJE7O2Np8EBce1JxbToGBoyB
wZqBM2gmY8QFxkZnAjZNM81lnliUmcnket6as1NwNg+/ejjFJl+LOOajAOL8k5Lz03EtZFwL10ybgWnH
GG4OpB2nxjwPIs4/KTk/HdNixrR4zbQZmNZGYIYZLII5+fknJeenY1rCmJasmTYF0z7jTNvje9G8RaMn
xy+fcTaZSjypLTEdS1PG0nTN0ilY+jFn6TaOxZ5nI7TjbEOIs0wH9bPTsWvA2DVYs2sKdt3JOoVUc9gya
70/n1/R+/P5lelYN2SsG65ZN4PHe4qTP0cFj5eff1JyfjqmjRjTRmumzdBXP87HzrJOwd0sjpSvPam4Nh
0Dx4yBY6Vhn2bSNHL6zi5y5AUO7YkxfCE9+vUnNdena6THs8f0uOtJwLZ3ifLLV34Fyq8TxoCHmBSfRl
p/L0nrOyjVwen/z3EGA5v4kcusbxSU1HX7RBYUtxXm0lYliAMuRYpAL6qS+Un7VDh/qeEsISzOlSHdyt
vSd0mvVwbDcAyX1Yupfmcl2nOu6IYRF5K9h/NxcKQOJ5c8xBmJcJeEd2RqInH9gdpEt0UScdXrp7HXV
68GGUbeKBjDL+VqJC5GvdHA9dSLcVhO2NNbpHPx9jX/hmXjDpcNeoUGeNSK59IQmBqVxkHkaSrhZ
yrRHyYDDa8kuxoNyMiLjM8zGg/7g2GRozfThBvmyl3OFWmLTLhWo6XwbFEUlYl54iYuDXfMYh5FLBgyi
jm9MR6XiTmruMTpxPCfpZaudPNXRB5YTFL0ksZmVUQDIorQGTMDnRWxY13cLvtSs2NGgUv9FNpfJn

joshl_1995 22 Twisted Digital

What I want to shorten is a base64 image so the user doesn't have to input a really long string, I want it to be as short as an md5 string. Possibly just like an md5 string besides the part where it's not decryptable.

joshl_1995 22 Twisted Digital

Hello Community,
I need to shortern a really long string then when it's in my program the string will expand back to it's normal length ready to be used in the program.

I don't care what kind of method i need to use.

Please help...

joshl_1995 22 Twisted Digital

Never mind i found the solution here.

joshl_1995 22 Twisted Digital

Hello Community,
I need help with the program "InnoSetup" what i need is a way to uninstall the previous version of my program insted of just overwriting it.

So when the user runs the setup if the program is already installed on there computer they will be asked to unstall it first, then they can install the newer version.

Please help... I need a better way to update my programs.

joshl_1995 22 Twisted Digital

Never mind i fixed it i didn't enter the correct name of the folder.
Thanks for your help.

joshl_1995 22 Twisted Digital

So how do i fix it?

joshl_1995 22 Twisted Digital

Yer i know it's the space but i want to know if there is a way to bypass that for it to work.

Anyway i tried adding that (ftp_chdir) but i'm getting this error:
Warning: ftp_chdir(): Can't change directory to MainDir/SubDir/New folder: No such file or directory in C:\wamp\www\CheckDir.php on line 11

This is the updated script using that method:

<?php
    $ftp_server = "SERVER";
    $ftp_user_name = "USERNAME";
    $ftp_user_pass = "PASSWORD";
    $conn_id = ftp_connect($ftp_server);
    $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
    ftp_pasv($conn_id, true);

    if (($conn_id) || ($login_result)) {
        $itemsArray = array();
        ftp_chdir($conn_id, "MainDir/SubDir/New folder");
        $items_list = ftp_nlist($conn_id, "");
        foreach ($items_list as $item) {
            array_push($itemsArray, array("itemname" => $item));
        }
        unset($itemsArray['0']);
        unset($itemsArray['1']);
?>
<ul>
    <?php
        if (is_array($itemsArray)) {
            foreach ($itemsArray as $item) {
    ?>
    <li><?php echo $item['itemname'] ?></li>
    <?php
            }
        }
        else
            echo $itemsArray;
    ?>
</ul>
<?php
    } else {
        return "An error has occurred!";
    }

    ftp_close($conn_id);
?>
joshl_1995 22 Twisted Digital

Thanks

joshl_1995 22 Twisted Digital
<?php
    $ftp_server = "SERVER";
    $ftp_user_name = "USERNAME";
    $ftp_user_pass = "PASSWORD";
    $conn_id = ftp_connect($ftp_server);
    $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
    ftp_pasv($conn_id, true);

    if (($conn_id) || ($login_result)) {
        $itemsArray = array();
        $items_list = ftp_nlist($conn_id, "MainDir/SubDir/New folder");
        foreach ($items_list as $item) {
            array_push($itemsArray, array("itemname" => $item));
        }
        unset($itemsArray['0']);
        unset($itemsArray['1']);
?>
<ul>
    <?php
        if (is_array($itemsArray)) {
            foreach ($itemsArray as $item) {
    ?>
    <li><?php echo $item['itemname'] ?></li>
    <?php
            }
        }
        else
            echo $itemsArray;
    ?>
</ul>
<?php
    } else {
        return "An error has occurred!";
    }

    ftp_close($conn_id);
?>
joshl_1995 22 Twisted Digital

How are you redirecting it?

joshl_1995 22 Twisted Digital

Hello Community,
I need help using the ftp_nlist command, what i'm trying to do is look in a directory but the directory is two separate string (eg. "New folder") and it is saying there is nothing in there but there is i'm sure the problem is because the two separate stringed folder name. So is there a way to fix this.

Please help...

joshl_1995 22 Twisted Digital

Hello Community,
I'm trying to dynamically add a menuitem to my context menu and add a click handler but for some reason it won't add the handler what did a do wrong?

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        For Each Line In RichTextBox1.Lines
            Dim NewItem As New MenuItem
            NewItem.Text = Line
            AddHandler NewItem.Click, AddressOf NewItem_Click
            ContextMenuStrip1.Items.Add(Line)
        Next
    End Sub

    Private Sub NewItem_Click(sender As Object, e As EventArgs)
        MsgBox(CType(sender, MenuItem).Text)
    End Sub
joshl_1995 22 Twisted Digital

@TntinMN Thanks for telling me to do what i've already done.

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if there is a way to backup my mysql database.

TnTinMN commented: gee, I to lazy to search for my self, will you spoon feed it to me -1
joshl_1995 22 Twisted Digital

@diafol Really you don't think I tried that. I pretty much looked every where.

The only thing that seemed to work to the way I wanted is to use OUTFILE but I want the file to goto my website directory but I think it's going to the mysql data and I don't have access to it so I can't get the file.

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if there is a way to backup my mysql database.

joshl_1995 22 Twisted Digital

I would move hosts but the one i'm with has such a great free package (10gb data usage and 98gb of bandwidth) by the way the company i'm with is Cixx6. I wouldn't mine moving hosts but i don't have the money to sign up with a well known website hosting company.

Oh and yes i can access the cPanel.

joshl_1995 22 Twisted Digital

Don't know, but now for some reason i now have access to the website on one of my computers.

I think it could be blocking my ip because i went to a proxy website and went to the website and it let me access it, but i have had so much trouble with the website i've tried Fixing the file ownership, Reloading the account and deleting the account and remaking it.
I was hoping it wouldn't come to this but i was thing about renaming the website, i would message the host but they almost never respond, so i'm not even going to bother trying to get a response from them.

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering why can't i access my website on both of my computers, but for some reason i can access it on my ps3.
I can't even access it from filezilla, i't is like my computers are ignoring my website, and on both computer i get this message (Image-Below):
AccountUnavailable

Can someone please help...