Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 90
Search took 0.14 seconds.
Search: Posts Made By: phpchick
Forum: PHP 04-26-2013, 06:15 PM
Replies: 8
Views: 226
Posted By phpchick
$variable=mysql_real_escape_string($_POST['variabl...

$variable=mysql_real_escape_string($_POST['variable']);


Is something like this a valid form of sanitation?
Forum: PHP 04-25-2013, 08:42 PM
Replies: 8
Views: 226
Posted By phpchick
thanks for that fou-lu

thanks for that fou-lu
Forum: PHP 04-25-2013, 05:23 PM
Replies: 8
Views: 226
Posted By phpchick
$stmt->bind_param('sssssssss', $o, $q, $r, $s,...

$stmt->bind_param('sssssssss', $o, $q, $r, $s, $t, $u, $ip, $rrefer, $host);


Just trying to learn... what is this line doing? specifically the binding of the 'ssssssssss'
Forum: PHP 04-25-2013, 04:05 AM
Replies: 8
Views: 226
Posted By phpchick
Is this safe? How to sanitize?

We got hacked today and wanted to see if this is part of the reason why.

I have a website that hits a php file with parameter variables. The Php file takes the variables in the parameter, and...
Forum: JavaScript programming 04-12-2013, 05:58 PM
Replies: 3
Views: 136
Posted By phpchick
Was able to make this... ...

Was able to make this...

http://jsfiddle.net/M3vVw/12/
Forum: JavaScript programming 04-12-2013, 03:49 PM
Replies: 3
Views: 136
Posted By phpchick
- so I think I'm onto something.... I'm able...

- so I think I'm onto something....

I'm able to make the highlight persistent (instead of fading away like the highlight function) and get the reset button working. (used removeAttr) - ...
Forum: JavaScript programming 04-11-2013, 11:16 PM
Replies: 3
Views: 136
Posted By phpchick
Highlight links that dynamically builds a chart properly - how?

I have made a custom legend using html links that builds a chart when you click it. Now, I want to highlight the li elements that contains the chart when a user clicks on that specific link. I...
Forum: PHP 04-05-2013, 06:26 PM
Replies: 24
Views: 411
Posted By phpchick
Hey guys, I just wanted to keep everybody...

Hey guys, I just wanted to keep everybody updated.

I called the host today and it turns out that the server had blacklisted the IP address from which my script was running, (CpHulk).

We...
Forum: PHP 04-04-2013, 08:57 PM
Replies: 24
Views: 411
Posted By phpchick
I changed the ip address to the domain name and...

I changed the ip address to the domain name and still no luck.

Could it be that the server has blacklisted my script's IP address because of repeated attempts to connect?

How does one check...
Forum: PHP 04-04-2013, 07:58 PM
Replies: 24
Views: 411
Posted By phpchick
curl: (67) Access denied: 530 I'm...

curl: (67) Access denied: 530


I'm starting to think that somehow the FTP server is blocking my server...
Forum: PHP 04-04-2013, 07:19 PM
Replies: 24
Views: 411
Posted By phpchick
That was a very good idea. I made the changed but...

That was a very good idea. I made the changed but unfortunately more errors....


<b>Warning</b>: fopen(ftp://...@99.99.99.99/home/folder/public_html/rpc-server/text.txt) [<a...
Forum: PHP 04-04-2013, 06:54 PM
Replies: 24
Views: 411
Posted By phpchick
I'm not sure what you mean, I'm using the IP...

I'm not sure what you mean, I'm using the IP address rather than the domain to upload.

that is basically the same thing no? IP is better since there are no DNS issues, if I'm not mistaken.

I...
Forum: PHP 04-04-2013, 06:25 PM
Replies: 24
Views: 411
Posted By phpchick
used the code you suggested, ran, and got this......

used the code you suggested, ran, and got this...

<br />
<b>Warning</b>: file_put_contents(ftp://...@99.99.99.99/public_html/rpc-server/test.txt) [<a...
Forum: PHP 04-04-2013, 06:07 PM
Replies: 24
Views: 411
Posted By phpchick
the ftp connection is being opened from a script...

the ftp connection is being opened from a script that is on a server that does have a web server installed, but that script is not in the public_html.

The ftp itself is hosted by a remote server...
Forum: PHP 04-04-2013, 05:47 PM
Replies: 24
Views: 411
Posted By phpchick
So this is the code I added $ftp_server =...

So this is the code I added

$ftp_server = "ftp://user:pass@99.99.99.99/";
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
ftp_close($conn_id);


and the error...
Forum: PHP 04-04-2013, 05:22 PM
Replies: 24
Views: 411
Posted By phpchick
permissions of the folder I'm trying to write to...

permissions of the folder I'm trying to write to is: rwxr-xr-x

and permissions of the file that i'm trying to write to is(which is in the folder above): rw-r--r--


I've also looked at the...
Forum: PHP 04-04-2013, 05:18 PM
Replies: 24
Views: 411
Posted By phpchick
1. yes, see previous 2. // Allows...

1. yes, see previous
2.

// Allows overwriting of existing files on the remote FTP server
$stream_options = array('ftp' => array('overwrite' => true));

// Creates a stream context resource...
Forum: PHP 04-04-2013, 05:12 PM
Replies: 24
Views: 411
Posted By phpchick
When I tried this, same error ...

When I tried this, same error

<b>Warning</b>: file_put_contents(ftp://...@99.99.99.99/public_html/rpc-server/test.txt) [<a href='function.file-put-contents'>function.file-put-contents</a>]:...
Forum: PHP 04-04-2013, 04:57 PM
Replies: 24
Views: 411
Posted By phpchick
This is the error from the command line when I...

This is the error from the command line when I try to run the script:

<br />
<b>Warning</b>: file_get_contents(ftp://...@99.99.99.99/public_html/rpc-server/file.txt) [<a...
Forum: PHP 04-04-2013, 04:23 PM
Replies: 24
Views: 411
Posted By phpchick
Unable to write to a remote ftp using php

I'm trying to write a file to an FTP server, and I'm getting an error that says I cannot open the stream. I wanted to see if anybody had any insight on how to fix this.

Can anybody see anything...
Forum: HTML & CSS 03-29-2013, 09:05 PM
Replies: 2
Views: 158
Posted By phpchick
3 divs inside one containing div, third div on a separate line?

http://goo.gl/q8sfH


Very quickly, why is "strong guidance" on the third label, a line below where the other two appear?

and how does one fix this?


pretty simple thing going on
Forum: JavaScript programming 03-27-2013, 06:31 PM
Replies: 17
Views: 289
Posted By phpchick
Thanks for that.

Thanks for that.
Forum: JavaScript programming 03-27-2013, 02:52 AM
Replies: 17
Views: 289
Posted By phpchick
Thanks for all the comments guys. I never learned...

Thanks for all the comments guys. I never learned how to code php formally I just started doing it so some of my code may not be very beautiful.

And for the record, yes, the code is sanitized up...
Forum: PHP 03-27-2013, 02:44 AM
Replies: 11
Views: 1,209
Posted By phpchick
This fixed it. updating that sessions folder......

This fixed it. updating that sessions folder... thanks guys
Forum: PHP 03-26-2013, 10:51 PM
Replies: 11
Views: 1,209
Posted By phpchick
I called them and they directed me to the ini...

I called them and they directed me to the ini file and told me to specify a tmp folder on my portion of the server for the path, so I updated it to this

session.save_path =...
Showing results 1 to 25 of 90

 
Forum Jump

All times are GMT +1. The time now is 04:00 AM.