This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2011-09-17 04:39:55

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: (PHP) Social Connections Website!

Here we are:

Code:

<textarea>
Test.  Should work :S
</textarea>

Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#27 2011-09-17 04:44:39

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: (PHP) Social Connections Website!

wulfmaster wrote:

Here we are:

Code:

<textarea>
Test.  Should work :S
</textarea>

Thank you!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#28 2011-09-17 05:15:33

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: (PHP) Social Connections Website!

You're welcome!  smile


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#29 2011-09-17 06:00:47

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: (PHP) Social Connections Website!

this isn't really a misc topic because it is about web programming. i think it should go in advanced topics. oh and i would like to beta test it!


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#30 2011-09-17 06:57:52

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: (PHP) Social Connections Website!

nathanprocks wrote:

this isn't really a misc topic because it is about web programming. i think it should go in advanced topics. oh and i would like to beta test it!

This isn't really going to be all code and stuff, this is for talking about the actual product, plus there is a thread in advanced about this that is the coding.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#31 2011-09-17 07:15:29

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: (PHP) Social Connections Website!

gbear605 wrote:

nathanprocks wrote:

this isn't really a misc topic because it is about web programming. i think it should go in advanced topics. oh and i would like to beta test it!

This isn't really going to be all code and stuff, this is for talking about the actual product, plus there is a thread in advanced about this that is the coding.

Yes, this


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#32 2011-09-17 09:05:29

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: (PHP) Social Connections Website!

Who's helping develop this site?

Me (Wulfmaster)
Gbear605
LS97
and Rookwood101  smile


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#33 2011-09-17 09:17:12

Death_Wish
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: (PHP) Social Connections Website!

I could be a betatester, it sounds like a really cool site  smile


With a straight flush.
http://4.bp.blogspot.com/-FlUhnzmIROE/TgtpjdJl4tI/AAAAAAAABCM/W19pvFTZFaU/s1600/save_the_world.png http://blocsonic.com/images/special/rip-stevejobs.jpg

Offline

 

#34 2011-09-17 09:17:51

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: (PHP) Social Connections Website!

Cool.  Thanks!  I'll contact you when there's something to see!  tongue


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#35 2011-09-17 10:53:04

fire219
Scratcher
Registered: 2008-02-07
Posts: 1000+

Re: (PHP) Social Connections Website!

wulfmaster wrote:

Who's helping develop this site?

Me (Wulfmaster)
Gbear605
LS97
and Rookwood101  smile

Me.  tongue


http://bluetetrarpg.x10.mx/usercard/img.php?name=fire219

Offline

 

#36 2011-09-17 22:34:06

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: (PHP) Social Connections Website!

fire219 wrote:

wulfmaster wrote:

Who's helping develop this site?

Me (Wulfmaster)
Gbear605
LS97
and Rookwood101  smile

Me.  tongue

Yes.  and this guy ^^  tongue   Just haven't added you to the list  tongue

Anyway, BUMP  big_smile


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#37 2011-09-18 07:41:22

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: (PHP) Social Connections Website!

bump!


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#38 2011-09-20 07:20:42

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: (PHP) Social Connections Website!

lol u used my like button design  big_smile  oh and btw can i try ur upload code on my site because i copied code from w3schools and it didn't work  sad


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#39 2011-09-20 12:35:28

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: (PHP) Social Connections Website!

nathanprocks wrote:

lol u used my like button design  big_smile  oh and btw can i try ur upload code on my site because i copied code from w3schools and it didn't work  sad

lol.  I used that exact code.  smile


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#40 2011-09-23 03:00:44

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: (PHP) Social Connections Website!

wulfmaster wrote:

nathanprocks wrote:

lol u used my like button design  big_smile  oh and btw can i try ur upload code on my site because i copied code from w3schools and it didn't work  sad

lol.  I used that exact code.  smile

yeah i realised that after i looked at it... the problem is it says it can't move the file to another location... i will get the exact message later because i can't access CDAF (http://cassiedragonandfriends.org/ this is not my web... i have a subdomain) on this network.

Edit: i tried code from another website but that didn't work either...

Last edited by nathanprocks (2011-09-23 03:01:56)


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#41 2011-09-23 03:05:50

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: (PHP) Social Connections Website!

As I use my own host, I believe that yours may be because you are using a service?  Or something.


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#42 2011-09-23 05:59:44

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: (PHP) Social Connections Website!

ssss wrote:

As I use my own host, I believe that yours may be because you are using a service?  Or something.

i'm hosting it on GPG's site. When i try to upload a file it says the following:

Code:

Upload: Hello.bat
Type: application/octet-stream
Size: 0.0625 Kb

Warning: move_uploaded_file(uploads/Hello.bat) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/cassiedr/public_html/carrot/experiments/upload.php on line 20

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpzSXs5Z' to 'uploads/Hello.bat' in /home/cassiedr/public_html/carrot/experiments/upload.php on line 20
The link to your file is: http://carrot.cassiedragonandfriends.org/uploads/Hello.bat

http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#43 2011-09-23 06:07:20

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: (PHP) Social Connections Website!

nathanprocks wrote:

ssss wrote:

As I use my own host, I believe that yours may be because you are using a service?  Or something.

i'm hosting it on GPG's site. When i try to upload a file it says the following:

Code:

Upload: Hello.bat
Type: application/octet-stream
Size: 0.0625 Kb

Warning: move_uploaded_file(uploads/Hello.bat) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/cassiedr/public_html/carrot/experiments/upload.php on line 20

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpzSXs5Z' to 'uploads/Hello.bat' in /home/cassiedr/public_html/carrot/experiments/upload.php on line 20
The link to your file is: http://carrot.cassiedragonandfriends.org/uploads/Hello.bat

I had this error too,

Code:

<?php
  {
  if ($_FILES["file"]["error"] > 0)
    {
    echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
    }
  else
    {
    echo "Upload: " . $_FILES["file"]["name"] . "<br />";
    echo "Type: " . $_FILES["file"]["type"] . "<br />";
    echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";

    if (file_exists("/home/cassiedr/public_html/carrot/experiments/upload/" . $_FILES["file"]["name"]))
      {
      echo $_FILES["file"]["name"] . " already exists. ";
      }
    else
      {
      move_uploaded_file($_FILES["file"]["tmp_name"],
      "/home/cassiedr/public_html/carrot/experiments/upload/" . $_FILES["file"]["name"]);
      echo "http://carrot.cassiedragonandfriends.org/experiment/upload/" . $_FILES["file"]["name"];
      }
    }
  }
?>

Your problem, is that you are tryinng to upload to somewhere it can't find, you need to use the expanded link, like in this.  I think you can figure this out  smile

Last edited by gbear605 (2011-09-23 06:13:31)


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#44 2011-09-23 06:20:05

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: (PHP) Social Connections Website!

It's obvious he doesn't have an 'uploads' directory!


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#45 2011-09-23 06:25:21

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: (PHP) Social Connections Website!

gbear605 wrote:

nathanprocks wrote:

ssss wrote:

As I use my own host, I believe that yours may be because you are using a service?  Or something.

i'm hosting it on GPG's site. When i try to upload a file it says the following:

Code:

Upload: Hello.bat
Type: application/octet-stream
Size: 0.0625 Kb

Warning: move_uploaded_file(uploads/Hello.bat) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/cassiedr/public_html/carrot/experiments/upload.php on line 20

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpzSXs5Z' to 'uploads/Hello.bat' in /home/cassiedr/public_html/carrot/experiments/upload.php on line 20
The link to your file is: http://carrot.cassiedragonandfriends.org/uploads/Hello.bat

I had this error too,

Code:

<?php
  {
  if ($_FILES["file"]["error"] > 0)
    {
    echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
    }
  else
    {
    echo "Upload: " . $_FILES["file"]["name"] . "<br />";
    echo "Type: " . $_FILES["file"]["type"] . "<br />";
    echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";

    if (file_exists("/home/cassiedr/public_html/carrot/experiments/upload/" . $_FILES["file"]["name"]))
      {
      echo $_FILES["file"]["name"] . " already exists. ";
      }
    else
      {
      move_uploaded_file($_FILES["file"]["tmp_name"],
      "/home/cassiedr/public_html/carrot/experiments/upload/" . $_FILES["file"]["name"]);
      echo "http://carrot.cassiedragonandfriends.org/experiment/upload/" . $_FILES["file"]["name"];
      }
    }
  }
?>

Your problem, is that you are tryinng to upload to somewhere it can't find, you need to use the expanded link, like in this.  I think you can figure this out  smile

so is that the fixed code right?...


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#46 2011-09-23 06:27:37

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: (PHP) Social Connections Website!

i tried creating an uploads directory...


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#47 2011-09-23 06:40:37

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: (PHP) Social Connections Website!

it still says exactly the same message  sad


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#48 2011-09-24 05:56:48

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: (PHP) Social Connections Website!

bump


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#49 2011-09-24 07:16:13

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: (PHP) Social Connections Website!

It has to be in this sort of directory:

Upload_File.php inside .../(Var)
.../(Var)/uploads.

Is that what you've done?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#50 2011-09-24 07:30:07

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: (PHP) Social Connections Website!

ssss wrote:

It has to be in this sort of directory:

Upload_File.php inside .../(Var)
.../(Var)/uploads.

Is that what you've done?

ur confusing me now... i copied my code from another website... it SHOULD work!!!


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

Board footer