General Development

Article entry problem – spade89

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
Administrators i need help,i uploaded a file for my new article posting but it isn't showing i tried to include the file inside the article but the ccn server didn't let me,so i uploaded the file and it is now saying 404 not found error so if you could fix it.....

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
Hello anyone it says it uploaded the file,but it's not showing it

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
HELOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!
HEY,CCN administrators ,or anyone else why can't i post my source code on this site it is starting to post part of it but not all could you please help me out,i uploaded a source code file to ccn server and it won't display too,what is the problem? HELLLLLLLLLLLPPPPPPPPPPPPPPP!!!

[This message has been edited by spade89 (edited January 11, 2007).]

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
I'm seeing your article plain as day.

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
that's just a code i wrote while at my school's library a couple of hours ago,the code i really wanted to post was 168 lines ,maybe if anybody knows a free source code host,you could tell me and i could just add a link to my article.

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

dartsman

Member

Posts: 484
From: Queensland, Australia
Registered: 03-16-2006
why not just post the code in the forums and link to it?

------------------
www.auran.com

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
i tried that,i even tried not to use certain characters that could cause parsing errors such as []<>\/&^*;# and they post just fine ,i tried posting my code until the end of main() function and it worked,but as soon as i add one function it all gets messed up,it keep's saying server temporarily unavailable,i am sure this is some parsing error on the ccn server because ccn doesn't use a standard server,like apache or iis,it uses it's own perl/cgi server.so if the admin's could just fix the link to the file i uploaded or ,fix the code in their server everything might finally be ok for everyone.

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

dartsman

Member

Posts: 484
From: Queensland, Australia
Registered: 03-16-2006
hmm odd... did you put your code between [code][/code] statements? like a quote?

------------------
www.auran.com

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
yes i did ,i tried
[/CODE],[SOURCE][/SOURCE],<CODE></CODE>,<SOURCE></SOURCE>
IT'LL let me post the following:
[code]
/**************************************************************
* Basic xor encryption program by spade89 *
* this code is for everyhuman no copyrights *
* feel free to modify or duplicate as much as you want. *
* *
***************************************************************
*/
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<string.h>
int encrypt(char *,char *);
int decrypt(char *,char *);
long filesize(FILE *);
int main(){
begining:
unsigned char key[128],filename[64];
textcolor(LIGHTGREEN);
//startup:
cprintf("BASIC XOR ENCRYPTION BY SPADE %c") ;cout<<endl;
for(int i=0;i<80;i++)cprintf("%c",6);
cout<<endl;
// synchronize i/o
cin.tie(&cout);
cout<<"Enter filename:\n";
//get filename
cin>>filename;
cout<<"Enter key:\n";
//get encryption decryption key
cin>>key;

char op;
cout<<"Enter option<Encrypt/Decrypt>:\n";
//see what the user wants us to do
op=getch();

switch(op){

case 'd':
case 'D':
decrypt(filename,key);
break;
case 'e':
case 'E':
encrypt(filename,key);
default:
break;
}
op=getch();
//see of tje user still wants to continue, 0x1b is escape key
if(op==0x1b)goto end;
goto begining;
end:
return 0;
}
/*
function filesize
arguments FILE *stream
a file stream object
returns size of the file as long
*/
long filesize(FILE *stream)
{
long curpos, length;

curpos = ftell(stream);
fseek(stream, 0L, SEEK_END);
length = ftell(stream);
fseek(stream, curpos, SEEK_SET);
return length;

}


but the real important code is in the functions encrypt() and decrypt(),and it won't let me post those

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

[This message has been edited by spade89 (edited January 13, 2007).]

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
guess i'm out of luck


------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

[This message has been edited by spade89 (edited January 13, 2007).]

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
I don't have access to the server, but will email Krylar and Mack. In the meantime relax.

------------------
"One World. One Web. One Program." -Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" -Adolf Hitler
"I believe in freedom... not freedom like America, freedom like a shopping cart"

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
Thanks a lot D-SIPL.

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ