Search Results

Search: Posts Made By: GroveTuckey
1,661
Posted By GroveTuckey
I ended up with a file that looked like so ...
I ended up with a file that looked like so
...
1,661
Posted By GroveTuckey
Not having tried this yet, But can I sort taking...
Not having tried this yet, But can I sort taking both 20 and 21 into consideration? I will be able to mess with this in about 1/2 hour or so.

Mr.Bean, I will try your method if I can't get...
1,661
Posted By GroveTuckey
Padding a csv value with 0's
I have this csv file that I would like to sort on the 20th and 21st field. They are high lighted below. My challenge is that when I sort on those fields they are not in order as I would have liked....
1,734
Posted By GroveTuckey
RudiC my first test seemed to work great with...
RudiC my first test seemed to work great with what you posted.

Thanks very much, and yes it was a strange quoted file.

Thanks again. I will do more extensive testing and if I find anything odd...
1,734
Posted By GroveTuckey
Split csv file by line count.
I have a very large csv file that I sort by the data that is in the second column. But what I need to do next is split the file in groups of say around 30,000 lines but don't split the data while...
Forum: Programming 03-26-2013
1,810
Posted By GroveTuckey
Just three until the copying of the fieldsets ...
Just three until the copying of the fieldsets


<fieldset>
<legend>Visitor Name</legend>
<div id="placeholder">
<div id="addmore">
<label...
Forum: Programming 03-26-2013
1,810
Posted By GroveTuckey
well ...
well

$boxes,$boxes1,$boxes2,$boxes3,$boxes4,$boxes5,$boxes6,$boxes7,$boxes8,$boxes9,$boxes10,$boxes11

is other data in the form.

I feel like I am misunderstanding your suggestion.

I...
Forum: Programming 03-26-2013
1,810
Posted By GroveTuckey
Dynamically added text fields passed to PHP script
If I am posting this to the wrong section please move it somewhere it fits. I apologize if this is not the correct section.

I have a site where I want to have form that in a "Visitor name" section...
Forum: Web Development 02-16-2012
9,744
Posted By GroveTuckey
<form action="edit.php" method="POST"> ...
<form action="edit.php" method="POST">
<TEXTAREA NAME="save" COLS=150 ROWS=50 wrap="off">
<?php
$dir = ".";
include($dir. '/' .$_GET['file']);
?>
</textarea>
<P><INPUT TYPE="SUBMIT"...
Forum: Web Development 02-16-2012
9,744
Posted By GroveTuckey
Well no such luck yet. I may just have to step...
Well no such luck yet. I may just have to step away and come back to it once I don't feel like I want to punch my laptop :)

I mean I get what you are saying. Just putting it into practice is my...
Forum: Web Development 02-16-2012
9,744
Posted By GroveTuckey
I have to think on what that means. I am slow :) ...
I have to think on what that means. I am slow :)

I am using $_GET in the form. So I think I got that.

Thanks again!
Forum: Web Development 02-16-2012
9,744
Posted By GroveTuckey
This is on a server that is not accessible to the...
This is on a server that is not accessible to the outside world. I mean I can change the permission on the folder itself.



The files are owned by the user(twilliab) and the group is www.
...
Forum: Web Development 02-16-2012
9,744
Posted By GroveTuckey
Yup. I can edit a file if I call for them in...
Yup.

I can edit a file if I call for them in the script directly (The last part of my post).

I will look at the permission again though.......

The folder the files are in themselves has...
Forum: Web Development 02-16-2012
9,744
Posted By GroveTuckey
edit a file with PHP.
Ok here is what I have going on.

I am listing the contest of a directory so I can edit and delete files.

The code I am using to do that is below (Other then editing as it does not work).
...
Forum: Web Development 01-19-2012
12,605
Posted By GroveTuckey
I guess there was none. I was just posting what I...
I guess there was none. I was just posting what I used to get what I needed done. Maybe I should not have posted a followup.

Thanks!
Forum: Web Development 01-19-2012
12,605
Posted By GroveTuckey
This is what I have using php with phpseclib. ...
This is what I have using php with phpseclib.

<?php
$input = $_POST['msg'];
$out = str_replace(array("\r\n"), "\n", $input);
$out = preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n",...
Forum: Web Development 01-12-2012
12,605
Posted By GroveTuckey
Yeah me to. Now I have to see if I can get sftp...
Yeah me to. Now I have to see if I can get sftp stuff working.
Forum: Web Development 01-12-2012
12,605
Posted By GroveTuckey
My remote server location was messed up also. ...
My remote server location was messed up also.

Once I made the code look like so:

$ftp_path = "/public_html/$dateposted.txt";

Things moved right on along.

One of these days I will get this...
Forum: Web Development 01-12-2012
12,605
Posted By GroveTuckey
So I get this error when I put in ...
So I get this error when I put in

$local_file = "/home/somefolder/public_html/sh/$dateposted.txt";

Warning: ftp_put() [function.ftp-put]: Can't open that file: No such file or directory in.......
Forum: Web Development 01-12-2012
12,605
Posted By GroveTuckey
I thought $fp was going to be a txt file with...
I thought $fp was going to be a txt file with todays date. I tried

/home/somefolder/public_html/sh/$dateposted.txt
It complained about unexpected "/"

I also tried
$local_file =...
Forum: Web Development 01-12-2012
12,605
Posted By GroveTuckey
Now I would like to ftp this file created to...
Now I would like to ftp this file created to another server.

I have tried the following:

<?php
$input = $_POST['msg'];
$out = str_replace(array("\r\n"), "\n", $input);
$dateposted =...
Forum: Web Development 01-06-2012
12,605
Posted By GroveTuckey
Yeah I seen that but can't figure out how to...
Yeah I seen that but can't figure out how to incorporate that into what I have. I will keep on trying.

---------- Post updated at 10:48 AM ---------- Previous update was at 07:54 AM ----------
...
Forum: Web Development 01-05-2012
12,605
Posted By GroveTuckey
CRLF to LF PHP
So I have this PHP script that takes info from HTML form and saves the info to a txt file.

Here is the code

<?php
$input = $_POST['msg'];
$dateposted = date("m-d-Y-His");
$fp =...
Forum: Solaris 12-08-2011
5,232
Posted By GroveTuckey
I just disabled cron in the service manager and...
I just disabled cron in the service manager and put a script rc2.d to kick it off instead at boot. Just does not get restarted if something kills it.

If anyone has a suggestion on how to figure...
Forum: Solaris 12-05-2011
5,232
Posted By GroveTuckey
Yeah that is what I was thinking but can't figure...
Yeah that is what I was thinking but can't figure out how to find that out. I was hoping to be able to run some more detailed logging on either the cron startup or the service manager on startup.
...
Showing results 1 to 25 of 37

 
All times are GMT -4. The time now is 11:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy