473,397 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Comand Line Variables (Max Length)?

158 100+
Hi all,

So I just wanted to see if anyone knew what the maximum length for a command line variable? I want to deal with 640,000 bytes, is this fine? Does anyone what that does to php speed?
Aug 8 '08 #1
4 1517
pbmods
5,821 Expert 4TB
Heya, Kardon.

What are you trying to accomplish? Perhaps there's an easier way to work with all that data.
Aug 8 '08 #2
kardon33
158 100+
Well I wrote this program in C that checks these lighting nodes with arp request and I need to get the data (Ip:status, for each node) back to my database which is sqlite. I would of just had C write to the database but I tried for hours and just couldn't get that to work.

I didn't originally I was going to be dealing with that much data I thought far less but demands need to be met.

I also wanted to limit the number of calls to the php script so thats why I am passing a string of all the nodes and there status.
Aug 10 '08 #3
pbmods
5,821 Expert 4TB
The alternative would be to save the data to a text file and send your PHP script the path to that file. The PHP script can the open the file and read the values that way.
Aug 11 '08 #4
kardon33
158 100+
Thanks for the response,

That idea would work great, but I went with a different approach. I decided to limit my calls to php every 1000 nodes.
Aug 15 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: jamait | last post by:
Hi all, I m trying to read in a text file into a datatable... Not sure on how to split up the information though, regex or substrings...? sample: Col1 Col2 ...
11
by: name | last post by:
Here is a first attempt at a line/word wrapping utility. Seems to work okay, but lacks some checking stuff, etc. --------------------------------------------------------- #include <stdio.h>...
8
by: Dawn Minnis | last post by:
Hey guys If I have a program (see codeSnippet1) that I compile to be called test.o Then run it as test.o n n 2 3 4 I want the code to be able to strip out the two characters at the start...
8
by: Frost | last post by:
Hi All, I am a newbie i have written a c program on unix for line by line comparison for two files now could some one help on how i could do word by word comparison in case both lines have the...
28
by: Nutkin | last post by:
Basicly i have to make a program that calculates the distance between x and y points in 2d space. the code basicly goes like this 1. User says how many points they have (max of 10) 2. User...
1
by: Griff | last post by:
I have an ASP application running under IIS 5 & 6 I need to implement Session() variables to cache some frequently looked up data. Because of the nature of the data, it is best held in the...
6
by: virgincita schmidtmann | last post by:
Good evening, I would like to pass the size of an array from the commandline. int main(int argc, int *argv) { .... max=*argv; int list; ....
9
by: The Bicycling Guitarist | last post by:
Hi. It has been suggested that I adjust line length in my pages online. Using Google to search for max-width, I have found at least two different methods to get Internet Explorer to emulate...
4
by: jx2 | last post by:
can any1 give me a good example for cli or CGI or comand line usage i've read the description on php.net but i just dont understand whats going on what do you use it for and how - i managed to run...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.